+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/mongodb-4.4.29/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/mongodb-4.4.29/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for mongodb-4.4.29
=> Replacing database paths.
=> Changing /var to /var/opt/pkg.
cd /home/pbulk/build/databases/mongodb4/work/mongo-r4.4.29 && cd . && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr PYTHON=/opt/pkg/bin/python3.11 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include CPPFLAGS=-I/opt/pkg/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include 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/opt/pkg/lib\ -L/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -lnsl\ -lsocket\ -liconv\ -lintl LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/databases/mongodb4/work/.cwrapper/bin:/home/pbulk/build/databases/mongodb4/work/.buildlink/bin:/home/pbulk/build/databases/mongodb4/work/.gcc/bin:/home/pbulk/build/databases/mongodb4/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/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=/etc/opt/pkg HOME=/home/pbulk/build/databases/mongodb4/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/databases/mongodb4/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/databases/mongodb4/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/databases/mongodb4/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/databases/mongodb4/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/databases/mongodb4/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/databases/mongodb4/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/databases/mongodb4/work/.buildlink/lib/pkgconfig:/home/pbulk/build/databases/mongodb4/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/databases/mongodb4/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/databases/mongodb4/work/.cwrapper/config scons-3.11 -j1 -j1 --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=g++ CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include\ -I/usr/include CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include\ -I/usr/include LINKFLAGS=\ -Wl,-R/opt/pkg/lib\ -L/opt/pkg/lib\ \ \ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -lnsl\ -lsocket\ -liconv\ -lintl CPPPATH=/opt/pkg/include/libbson-1.0\ /opt/pkg/include/libmongoc-1.0 --ssl=on
scons: Reading SConscript files ...
scons: running with args /opt/pkg/bin/python3.11 /opt/pkg/bin/scons-3.11 -j1 -j1 --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=g++ CFLAGS= -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -I/usr/include CXXFLAGS= -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/pkg/include -I/usr/include LINKFLAGS= -Wl,-R/opt/pkg/lib -L/opt/pkg/lib   -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -liconv -lintl CPPPATH=/opt/pkg/include/libbson-1.0 /opt/pkg/include/libmongoc-1.0 --ssl=on
Mkdir("build/scons")
scons version: 4.7.0
python version: 3 11 9 'final' 0
CC is gcc
gcc found in $PATH at /home/pbulk/build/databases/mongodb4/work/.cwrapper/bin/gcc
/home/pbulk/build/databases/mongodb4/work/.cwrapper/bin/gcc resolves to /opt/pkg/libexec/cwrappers/cc-wrapper
CXX is g++
g++ found in $PATH at /home/pbulk/build/databases/mongodb4/work/.cwrapper/bin/g++
/home/pbulk/build/databases/mongodb4/work/.cwrapper/bin/g++ resolves to /opt/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 "g++" is GCC... yes
Checking if C compiler "gcc" is GCC... yes
Detected a x86_64 processor
Checking if target OS solaris is supported by the toolchain... yes
Checking if C compiler is GCC 8.2 or newer...yes
Checking if C++ compiler is GCC 8.2 or newer...yes
Checking if C compiler supports -Wno-unused-local-typedefs... yes
Checking if C compiler supports -Wno-unused-function... yes
Checking if C compiler supports -Wno-unused-private-field... no
Checking if C compiler supports -Wno-deprecated-declarations... yes
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
Checking if C compiler supports -Wno-tautological-constant-compare... no
Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no
Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no
Checking if C compiler supports -Wno-unused-const-variable... yes
Checking if C compiler supports -Wno-unused-but-set-variable... yes
Checking if C compiler supports -Wno-missing-braces... yes
Checking if C compiler supports -Wno-inconsistent-missing-override... no
Checking if C compiler supports -Wno-potentially-evaluated-expression... no
Checking if C++ compiler supports -Wpessimizing-move... yes
Checking if C++ compiler supports -Wredundant-move... yes
Checking if C++ compiler supports -Wno-maybe-uninitialized... yes
Checking if C++ compiler supports -Wno-undefined-var-template... no
Checking if C++ compiler supports -Wno-instantiation-after-specialization... no
Checking if C compiler supports -Wno-unused-lambda-capture... no
Checking if C compiler supports -Wno-exceptions... yes
Checking if C++ compiler supports -fsized-deallocation... yes
Checking if C++ compiler supports -Wno-defaulted-function-deleted... no
Checking if C++ compiler supports -Wunused-exception-parameter... no
Checking -Wnon-virtual-dtor for false positives... no
Checking if 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... yes
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... yes
Checking for SSLeay_version(0) in C library crypto... yes
Checking for SSL_version(NULL) in C library ssl... yes
Checking that linking to OpenSSL works...yes
Checking whether FIPS_mode_set is declared... no
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... yes
Checking for C++ header file execinfo.h... yes
Checking whether backtrace is declared... yes
Checking whether backtrace_symbols is declared... yes
Checking whether backtrace_symbols_fd is declared... yes
Checking for C library pcap... yes
Checking for C library nsl... 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
scons: done reading SConscript files.
scons: Building targets ...
Install file: "distsrc/MPL-2" as "build/install/MPL-2"
Creating 'build/59f4f0dd/mongo/resmoke/resmoke.py'
Install file: "distsrc/LICENSE-Community.txt" as "build/install/LICENSE-Community.txt"
Install file: "distsrc/THIRD-PARTY-NOTICES" as "build/install/THIRD-PARTY-NOTICES"
Install file: "distsrc/README" as "build/install/README"
Install file: "build/59f4f0dd/mongo/resmoke/resmoke.py" as "build/install/bin/resmoke.py"
Chmod("build/install/bin/resmoke.py", "u+x")
g++ -o build/59f4f0dd/mongo/util/secure_compare_memory.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/secure_compare_memory.cpp
ar rc build/59f4f0dd/mongo/util/libsecure_compare_memory.a build/59f4f0dd/mongo/util/secure_compare_memory.o
ranlib build/59f4f0dd/mongo/util/libsecure_compare_memory.a
/opt/pkg/bin/python3.11 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
/opt/pkg/bin/python3.11 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
Creating 'build/59f4f0dd/mongo/config.h'
Generating build/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp
Generating build/59f4f0dd/mongo/db/logical_session_id_gen.cpp
g++ -o build/59f4f0dd/mongo/db/auth/address_restriction.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/auth/address_restriction.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/auth/address_restriction.h:32,
                 from src/mongo/db/auth/address_restriction.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
Generating build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp
/opt/pkg/bin/python3.11 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/pipeline/exchange_spec_gen.cpp
Generating build/59f4f0dd/mongo/db/read_write_concern_provenance_base_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/db/query/tailable_mode_gen.cpp
Generating build/59f4f0dd/mongo/db/generic_cursor_gen.cpp
Generating build/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp
Generating build/59f4f0dd/mongo/client/read_preference_gen.cpp
Generating build/59f4f0dd/mongo/client/hedging_mode_gen.cpp
Generating build/59f4f0dd/mongo/db/ops/write_ops_gen.cpp
Generating build/59f4f0dd/mongo/s/database_version_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/optime_base_gen.cpp
g++ -o build/59f4f0dd/mongo/db/auth/address_restriction_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/auth/address_restriction_gen.h:16,
                 from build/59f4f0dd/mongo/db/auth/address_restriction_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
ar rc 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
ranlib build/59f4f0dd/mongo/db/auth/libaddress_restriction.a
g++ -o build/59f4f0dd/mongo/util/net/sock.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/sock.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/logv2/log_severity.h:36,
                 from src/mongo/util/net/sock.h:54,
                 from src/mongo/util/net/sock.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/util/net/libsocket.a build/59f4f0dd/mongo/util/net/sock.o
ranlib build/59f4f0dd/mongo/util/net/libsocket.a
/opt/pkg/bin/python3.11 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
/opt/pkg/bin/python3.11 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
g++ -o build/59f4f0dd/mongo/shell/mongo.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/shell/mongo.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/shell/mongo.cpp:1:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/shell/libmongojs.a build/59f4f0dd/mongo/shell/mongo.o
ranlib build/59f4f0dd/mongo/shell/libmongojs.a
g++ -o build/59f4f0dd/mongo/db/query/cursor_request.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/cursor_request.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/query/cursor_request.h:32,
                 from src/mongo/db/query/cursor_request.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/query/killcursors_response.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/killcursors_response.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/query/killcursors_response.h:34,
                 from src/mongo/db/query/killcursors_response.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/clientcursor.h:40,
                 from src/mongo/db/query/killcursors_response.h:36:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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
g++ -o build/59f4f0dd/mongo/db/query/cursor_response.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/cursor_response.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/query/cursor_response.h:34,
                 from src/mongo/db/query/cursor_response.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/clientcursor.h:40,
                 from src/mongo/db/query/cursor_response.h:36:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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
g++ -o build/59f4f0dd/mongo/db/query/killcursors_request.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/killcursors_request.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/query/killcursors_request.h:34,
                 from src/mongo/db/query/killcursors_request.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/clientcursor.h:40,
                 from src/mongo/db/query/killcursors_request.h:36:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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
g++ -o build/59f4f0dd/mongo/db/query/find_and_modify_request.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/find_and_modify_request.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/jsobj.h:43,
                 from src/mongo/db/query/find_and_modify_request.h:34,
                 from src/mongo/db/query/find_and_modify_request.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/query/view_response_formatter.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/view_response_formatter.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/db/query/view_response_formatter.h:32,
                 from src/mongo/db/query/view_response_formatter.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 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/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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
g++ -o build/59f4f0dd/mongo/db/query/count_request.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/count_request.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/bson/bsonelement.h:35,
                 from src/mongo/db/query/count_request.h:33,
                 from src/mongo/db/query/count_request.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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/query/count_command_gen.cpp
g++ -o build/59f4f0dd/mongo/db/query/count_command_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/count_command_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/query/count_command_gen.h:16,
                 from build/59f4f0dd/mongo/db/query/count_command_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/db/query/count_command_as_aggregation_command.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/count_command_as_aggregation_command.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/jsobj.h:43,
                 from src/mongo/db/query/count_command_as_aggregation_command.h:32,
                 from src/mongo/db/query/count_command_as_aggregation_command.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/query/getmore_request.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/getmore_request.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/query/getmore_request.h:35,
                 from src/mongo/db/query/getmore_request.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/clientcursor.h:40,
                 from src/mongo/db/query/getmore_request.h:37:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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 rc 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
ranlib build/59f4f0dd/mongo/db/query/libcommand_request_response.a
Generating build/59f4f0dd/mongo/transport/message_compressor_options_client_gen.cpp
g++ -o build/59f4f0dd/mongo/shell/shell_options.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/shell_options.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/shell/shell_options.h:36,
                 from src/mongo/shell/shell_options.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/shell/shell_utils.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/shell_utils.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/client/mongo_uri.h:37,
                 from src/mongo/shell/shell_utils.h:37,
                 from src/mongo/shell/shell_utils.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/shell/shell_utils_launcher.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/shell_utils_launcher.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/shell/shell_utils_launcher.h:39,
                 from src/mongo/shell/shell_utils_launcher.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
/opt/pkg/bin/python3.11 site_scons/site_tools/jstoh.py build/59f4f0dd/mongo/shell/mongo-server.cpp src/mongo/shell/servers.js src/mongo/shell/shardingtest.js src/mongo/shell/servers_misc.js src/mongo/shell/replsettest.js src/mongo/shell/data_consistency_checker.js src/mongo/shell/bridge.js src/mongo/shell/keyvault.js src/mongo/shell/feature_compatibility_version.js
g++ -o build/59f4f0dd/mongo/shell/mongo-server.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/shell/mongo-server.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/shell/mongo-server.cpp:1:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/shell/shell_utils_extended.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/shell_utils_extended.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/bson/bson_validate.h:34,
                 from src/mongo/shell/shell_utils_extended.cpp:42:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/shell/libshell_utils.a build/59f4f0dd/mongo/shell/mongo-server.o build/59f4f0dd/mongo/shell/shell_options.o build/59f4f0dd/mongo/shell/shell_utils.o build/59f4f0dd/mongo/shell/shell_utils_extended.o build/59f4f0dd/mongo/shell/shell_utils_launcher.o
ranlib build/59f4f0dd/mongo/shell/libshell_utils.a
g++ -o build/59f4f0dd/mongo/db/views/resolved_view.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/views/resolved_view.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/views/resolved_view.h:34,
                 from src/mongo/db/views/resolved_view.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/views/resolved_view.h: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 rc build/59f4f0dd/mongo/db/views/libresolved_view.a build/59f4f0dd/mongo/db/views/resolved_view.o
ranlib build/59f4f0dd/mongo/db/views/libresolved_view.a
g++ -o build/59f4f0dd/third_party/shim_yaml.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_yaml.cpp
ar rc build/59f4f0dd/third_party/libshim_yaml.a build/59f4f0dd/third_party/shim_yaml.o
ranlib build/59f4f0dd/third_party/libshim_yaml.a
g++ -o build/59f4f0dd/third_party/shim_pcrecpp.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_pcrecpp.cc
ar rc build/59f4f0dd/third_party/libshim_pcrecpp.a build/59f4f0dd/third_party/shim_pcrecpp.o
ranlib build/59f4f0dd/third_party/libshim_pcrecpp.a
g++ -o build/59f4f0dd/mongo/util/signal_win32.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/signal_win32.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/util/str.h:45,
                 from src/mongo/util/signal_win32.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/util/signal_handlers.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/signal_handlers.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/jsobj.h:43,
                 from src/mongo/db/server_options.h:32,
                 from src/mongo/util/signal_handlers.cpp:44:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/util/libsignal_handlers.a build/59f4f0dd/mongo/util/signal_handlers.o build/59f4f0dd/mongo/util/signal_win32.o
ranlib build/59f4f0dd/mongo/util/libsignal_handlers.a
Generating build/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp
g++ -o build/59f4f0dd/mongo/db/storage/storage_parameters_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/storage/storage_parameters_gen.h:16,
                 from build/59f4f0dd/mongo/db/storage/storage_parameters_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/db/storage/storage_options.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/storage/storage_options.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/util/str.h:45,
                 from src/mongo/db/storage/storage_options.cpp:35:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc 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
ranlib build/59f4f0dd/mongo/db/storage/libstorage_options.a
Generating build/59f4f0dd/mongo/db/server_options_helpers_gen.cpp
g++ -o build/59f4f0dd/mongo/db/server_options_helpers_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/server_options_helpers_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/server_options_helpers_gen.h:16,
                 from build/59f4f0dd/mongo/db/server_options_helpers_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/db/server_options_helpers.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_helpers.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/server_options_helpers.h:32,
                 from src/mongo/db/server_options_helpers.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/server_options_helpers.cpp: In function 'mongo::Status mongo::validateBaseOptions(const optionenvironment::Environment&)':
src/mongo/db/server_options_helpers.cpp:159:25: warning: loop variable 'setParam' creates a copy from type 'const std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >' [-Wrange-loop-construct]
  159 |         for (const auto setParam : parameters) {
      |                         ^~~~~~~~
src/mongo/db/server_options_helpers.cpp:159:25: note: use reference type to prevent copying
  159 |         for (const auto setParam : parameters) {
      |                         ^~~~~~~~
      |                         &
ar rc build/59f4f0dd/mongo/db/libserver_options.a build/59f4f0dd/mongo/db/server_options_helpers.o build/59f4f0dd/mongo/db/server_options_helpers_gen.o
ranlib build/59f4f0dd/mongo/db/libserver_options.a
g++ -o build/59f4f0dd/mongo/db/server_options_server_helpers.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/server_options_server_helpers.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/server_options_server_helpers.h:34,
                 from src/mongo/db/server_options_server_helpers.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/third_party/boost-1.70.0/boost/concept/assert.hpp:35,
                 from src/third_party/boost-1.70.0/boost/concept_check.hpp:20,
                 from src/third_party/boost-1.70.0/boost/range/concepts.hpp:19,
                 from src/third_party/boost-1.70.0/boost/range/size_type.hpp:20,
                 from src/third_party/boost-1.70.0/boost/range/size.hpp:21,
                 from src/third_party/boost-1.70.0/boost/range/functions.hpp:20,
                 from src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:38,
                 from src/third_party/boost-1.70.0/boost/lexical_cast.hpp:30,
                 from src/third_party/boost-1.70.0/boost/program_options/value_semantic.hpp:14,
                 from src/third_party/boost-1.70.0/boost/program_options/options_description.hpp:13,
                 from src/third_party/boost-1.70.0/boost/program_options.hpp:15,
                 from src/mongo/util/options_parser/option_section.h:33,
                 from src/mongo/db/server_options_server_helpers.h:36:
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint<Model>::failed() [with Model = boost::algorithm::FinderConcept<boost::algorithm::detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:77:13:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:47:52: warning: 'this' pointer is null [-Wnonnull]
   47 |     static void failed() { ((Model*)0)->constraints(); }
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:26,
                 from src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:16,
                 from src/mongo/db/server_options_server_helpers.cpp:36:
src/third_party/boost-1.70.0/boost/algorithm/string/concept.hpp:40:18: note: in a call to non-static member function 'void boost::algorithm::FinderConcept<FinderT, IteratorT>::constraints() [with FinderT = boost::algorithm::detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >; IteratorT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   40 |             void constraints()
      |                  ^~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5:   required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:125:16:   required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
In file included from src/third_party/boost-1.70.0/boost/concept_check.hpp:31:
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >]':
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5:   required from 'struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>)>'
src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7:   [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]':
src/third_party/boost-1.70.0/boost/iterator/iterator_concepts.hpp:114:7:   required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  208 |     BOOST_CONCEPT_USAGE(Convertible) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13:   required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5:   required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >]':
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5:   required from 'struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>)>'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:152:13:   [ skipping 17 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]':
src/third_party/boost-1.70.0/boost/range/concepts.hpp:152:13:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >)>'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9:   [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  208 |     BOOST_CONCEPT_USAGE(Convertible) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >)>'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9:   [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/range/concepts.hpp:278:9:   required from 'struct boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >)>'
src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13:   [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  158 |             BOOST_CONCEPT_USAGE(SinglePassIteratorConcept)
      |             ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >]':
src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9:   required from 'struct boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   required from 'struct boost::concepts::requirement_<void (*)(boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >)>'
src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13:   [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:5: note: in a call to non-static member function 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |     ^
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/range/algorithm/equal.hpp:174:13:   required from 'bool boost::range::equal(const SinglePassRange1&, const SinglePassRange2&) [with SinglePassRange1 = boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; SinglePassRange2 = boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/range/iterator_range_core.hpp:646:32:   required from 'bool boost::operator==(const iterator_range<IteratorT>&, const iterator_range<Iterator2T>&) [with Iterator1T = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >; Iterator2T = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/find_iterator.hpp:333:32:   required from 'bool boost::algorithm::split_iterator<IteratorT>::equal(const boost::algorithm::split_iterator<IteratorT>&) const [with IteratorT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:568:26:   required from 'static bool boost::iterators::iterator_core_access::equal(const Facade1&, const Facade2&, mpl_::true_) [with Facade1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; Facade2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; mpl_::true_ = mpl_::bool_<true>]'
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:900:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator==(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; V1 = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; TC1 = forward_traversal_tag; Reference1 = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >&; Difference1 = long int; Derived2 = boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; V2 = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >; TC2 = forward_traversal_tag; Reference2 = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >&; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
src/third_party/boost-1.70.0/boost/iterator/iterator_adaptor.hpp:305:29:   [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47: warning: 'this' pointer is null [-Wnonnull]
   39 |     static void failed() { ((Model*)0)->~Model(); }
      |                            ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::SinglePassRangeConcept<T>::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  284 |         BOOST_CONCEPT_USAGE(SinglePassRangeConcept)
      |         ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5:   required from 'struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:125:16:   required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::CopyConstructible<TT>::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:167:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  167 |     BOOST_CONCEPT_USAGE(CopyConstructible) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >]'
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5:   required from 'struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  208 |     BOOST_CONCEPT_USAGE(Convertible) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13:   required from 'struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::IncrementableIteratorConcept<Iterator>::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/range/concepts.hpp:136:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  136 |             BOOST_CONCEPT_USAGE(IncrementableIteratorConcept)
      |             ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5:   required from 'struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:147:16:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::EqualityComparable<TT>::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:233:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  233 |     BOOST_CONCEPT_USAGE(EqualityComparable) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >]'
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5:   required from 'struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/concept_check.hpp:208:5: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  208 |     BOOST_CONCEPT_USAGE(Convertible) {
      |     ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13:   required from 'struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/range/concepts.hpp:158:13: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  158 |             BOOST_CONCEPT_USAGE(SinglePassIteratorConcept)
      |             ^~~~~~~~~~~~~~~~~~~
src/third_party/boost-1.70.0/boost/concept/usage.hpp: In instantiation of 'boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]':
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:39:47:   required from 'static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >]'
src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9:   required from 'struct boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:32:62:   required by substitution of 'template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:42:5:   required from 'const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >::value'
src/third_party/boost-1.70.0/boost/concept/detail/has_constraints.hpp:45:51:   required from 'struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > > >'
src/third_party/boost-1.70.0/boost/concept/detail/general.hpp:51:8:   [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
src/third_party/boost-1.70.0/boost/iterator/iterator_facade.hpp:901:3:   required from 'typename boost::iterators::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::iterators::detail::always_bool2, Derived1, Derived2>::type>::type boost::iterators::operator!=(const iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V1 = std::__cxx11::basic_string<char>; TC1 = forward_traversal_tag; Reference1 = std::__cxx11::basic_string<char>; Difference1 = long int; Derived2 = transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; V2 = std::__cxx11::basic_string<char>; TC2 = forward_traversal_tag; Reference2 = std::__cxx11::basic_string<char>; Difference2 = long int; typename detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type>::type = bool; typename boost::mpl::apply2<detail::always_bool2, Derived1, Derived2>::type = bool]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:1671:21:   required from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >]'
/opt/tools/gcc13/include/c++/13.3.0/bits/stl_vector.h:711:23:   required from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::iterators::transform_iterator<boost::algorithm::detail::copy_iterator_rangeF<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::algorithm::split_iterator<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >, boost::use_default, boost::use_default>; <template-parameter-2-2> = void; _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; allocator_type = std::allocator<std::__cxx11::basic_string<char> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/iter_find.hpp:178:31:   required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; FinderT = detail::token_finderF<mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)> >]'
src/third_party/boost-1.70.0/boost/algorithm/string/split.hpp:146:50:   required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>; PredicateT = mongo::storeServerOptions(const optionenvironment::Environment&)::<lambda(char)>]'
src/mongo/db/server_options_server_helpers.cpp:409:25:   required from here
src/third_party/boost-1.70.0/boost/concept/usage.hpp:16:48: warning: 'this' pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
src/third_party/boost-1.70.0/boost/concept/usage.hpp:30:7: note: in a call to non-static member function 'boost::SinglePassRangeConcept<T>::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]'
   30 |       ~model()
      |       ^
src/third_party/boost-1.70.0/boost/range/concepts.hpp:284:9: note: in expansion of macro 'BOOST_CONCEPT_USAGE'
  284 |         BOOST_CONCEPT_USAGE(SinglePassRangeConcept)
      |         ^~~~~~~~~~~~~~~~~~~
ar rc build/59f4f0dd/mongo/db/libserver_options_servers.a build/59f4f0dd/mongo/db/server_options_server_helpers.o
ranlib build/59f4f0dd/mongo/db/libserver_options_servers.a
g++ -o build/59f4f0dd/mongo/crypto/sha_block_openssl.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/crypto/sha_block_openssl.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/crypto/hash_block.h:38,
                 from src/mongo/crypto/sha1_block.h:32,
                 from src/mongo/crypto/sha_block_openssl.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/crypto/libsha_block_openssl.a build/59f4f0dd/mongo/crypto/sha_block_openssl.o
ranlib build/59f4f0dd/mongo/crypto/libsha_block_openssl.a
g++ -o build/59f4f0dd/third_party/shim_timelib.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_timelib.cpp
ar rc build/59f4f0dd/third_party/libshim_timelib.a build/59f4f0dd/third_party/shim_timelib.o
ranlib build/59f4f0dd/third_party/libshim_timelib.a
g++ -o build/59f4f0dd/mongo/shell/kms_shell.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/shell/kms_shell.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/initializer_function.h:34,
                 from src/mongo/base/global_initializer_registerer.h:35,
                 from src/mongo/base/init.h:47,
                 from src/mongo/shell/kms_shell.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/shell/libkms_shell.a build/59f4f0dd/mongo/shell/kms_shell.o
ranlib build/59f4f0dd/mongo/shell/libkms_shell.a
g++ -o build/59f4f0dd/mongo/db/operation_time_tracker.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/operation_time_tracker.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_view.h:37,
                 from src/mongo/bson/timestamp.h:32,
                 from src/mongo/db/logical_time.h:32,
                 from src/mongo/db/operation_time_tracker.h:32,
                 from src/mongo/db/operation_time_tracker.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/util/decorable.h:64,
                 from src/mongo/platform/mutex.h:46,
                 from src/mongo/util/time_support.h:40,
                 from src/mongo/bson/timestamp.h:35:
src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::OperationTimeTrackerHolder; DecoratedType = mongo::OperationContext]':
src/mongo/util/decorable.h:132:74:   required from 'static mongo::Decorable<DecoratedType>::Decoration<T> mongo::Decorable<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::OperationTimeTrackerHolder; D = mongo::OperationContext]'
src/mongo/db/operation_time_tracker.cpp:44:68:   required from here
src/mongo/util/decoration_registry.h:71:67: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   71 |             typename DecorationContainer<DecoratedType>::template DecorationDescriptorWithType<T>(
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                 std::move(declareDecoration(
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
   73 |                     sizeof(T), std::alignment_of<T>::value, &constructAt<T>, &destroyAt<T>)));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/util/decoration_registry.h:71:67: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/logical_time.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/logical_time.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_view.h:37,
                 from src/mongo/bson/timestamp.h:32,
                 from src/mongo/db/logical_time.h:32,
                 from src/mongo/db/logical_time.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/db/liblogical_time.a build/59f4f0dd/mongo/db/logical_time.o build/59f4f0dd/mongo/db/operation_time_tracker.o
ranlib build/59f4f0dd/mongo/db/liblogical_time.a
Generating build/59f4f0dd/mongo/transport/service_executor_gen.cpp
g++ -o build/59f4f0dd/mongo/transport/service_executor_adaptive.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_adaptive.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/initializer_function.h:34,
                 from src/mongo/base/global_initializer_registerer.h:35,
                 from src/mongo/db/service_context.h:38,
                 from src/mongo/transport/service_executor_adaptive.h:36,
                 from src/mongo/transport/service_executor_adaptive.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/transport/service_executor_reserved.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_reserved.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/transport/service_executor_reserved.h:34,
                 from src/mongo/transport/service_executor_reserved.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/transport/service_executor_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/transport/service_executor_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/transport/service_executor_gen.h:16,
                 from build/59f4f0dd/mongo/transport/service_executor_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/copyable_match_expression.h:32,
                 from src/mongo/db/query/projection_ast.h:33,
                 from src/mongo/db/query/projection.h:33,
                 from src/mongo/db/query/canonical_query.h: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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return std::move(expr);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/transport/service_executor_synchronous.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/transport/service_executor_synchronous.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/transport/service_executor_synchronous.h:34,
                 from src/mongo/transport/service_executor_synchronous.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc 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
ranlib build/59f4f0dd/mongo/transport/libservice_executor.a
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/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/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:33,
                 from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:31:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.h: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/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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_fmod.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/expression_leaf.h:35,
                 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/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move 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/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
g++ -o build/59f4f0dd/mongo/db/matcher/expression.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_types.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/encrypt_schema_types.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/bson/bsonelement.h:35,
                 from src/mongo/db/matcher/schema/encrypt_schema_types.h:35,
                 from src/mongo/db/matcher/schema/encrypt_schema_types.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/matchable.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matchable.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/db/matcher/matchable.h:32,
                 from src/mongo/db/matcher/matchable.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/expression_where_base.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_where_base.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_where_base.h:34,
                 from src/mongo/db/matcher/expression_where_base.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/matcher.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matcher.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/initializer_function.h:34,
                 from src/mongo/base/global_initializer_registerer.h:35,
                 from src/mongo/base/init.h:47,
                 from src/mongo/db/matcher/matcher.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_unique_items.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/unordered_fields_bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:35,
                 from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:36:
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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/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/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/unordered_fields_bsonobj_comparator.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_text_noop.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_text_noop.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/jsobj.h:43,
                 from src/mongo/db/fts/fts_util.h:34,
                 from src/mongo/db/fts/fts_query.h:34,
                 from src/mongo/db/fts/fts_query_noop.h:32,
                 from src/mongo/db/matcher/expression_text_noop.h:32,
                 from src/mongo/db/matcher/expression_text_noop.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/expression_text_noop.h: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
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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_cond.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_properties.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.h:38,
                 from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/matcher/expression_leaf.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_leaf.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/expression_leaf.h:35,
                 from src/mongo/db/matcher/expression_leaf.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h: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
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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.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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_geo.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_geo.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/jsobj.h:43,
                 from src/mongo/db/geo/shapes.h:39,
                 from src/mongo/db/geo/geometry_container.h:34,
                 from src/mongo/db/matcher/expression_geo.h:34,
                 from src/mongo/db/matcher/expression_geo.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_geo.h: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/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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return 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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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_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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_parser.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_parser.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression_parser.h:34,
                 from src/mongo/db/matcher/expression_parser.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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.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.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
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.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
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
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
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.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/stats/counters.h:42,
                 from src/mongo/db/matcher/expression_parser.cpp:70:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
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_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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_text_base.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_text_base.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/expression_leaf.h:35,
                 from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/expression_text_base.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/matcher/expression_tree.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_tree.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_tree.h:34,
                 from src/mongo/db/matcher/expression_tree.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(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
g++ -o build/59f4f0dd/mongo/db/matcher/rewrite_expr.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/rewrite_expr.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/rewrite_expr.h:35,
                 from src/mongo/db/matcher/rewrite_expr.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/rewrite_expr.h: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/rewrite_expr.h: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/pipeline/expression.h:47,
                 from src/mongo/db/matcher/rewrite_expr.h: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/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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression_array.h:35,
                 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/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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_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
g++ -o build/59f4f0dd/mongo/db/matcher/extensions_callback_noop.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/extensions_callback_noop.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/extensions_callback.h:32,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/matcher/extensions_callback_noop.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h: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/pipeline/expression_context.h:44,
                 from src/mongo/db/matcher/extensions_callback.h: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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_with_placeholder.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_with_placeholder.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/matcher/expression_with_placeholder.h:35,
                 from src/mongo/db/matcher/expression_with_placeholder.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from src/mongo/db/matcher/expression_with_placeholder.h: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: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::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return std::move(expr);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/matcher/expression_where_noop.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_where_noop.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_where_base.h:34,
                 from src/mongo/db/matcher/expression_where_noop.h:32,
                 from src/mongo/db/matcher/expression_where_noop.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_str_length.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h: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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_expr.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_expr.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_expr.h:35,
                 from src/mongo/db/matcher/expression_expr.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_expr.h: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/rewrite_expr.h:36,
                 from src/mongo/db/matcher/expression_expr.h: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/pipeline/expression.h:47,
                 from src/mongo/db/matcher/rewrite_expr.h: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_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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_array.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_array.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression_array.h:35,
                 from src/mongo/db/matcher/expression_array.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
Generating build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp
g++ -o build/59f4f0dd/mongo/db/matcher/schema/json_schema_parser.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/json_schema_parser.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/schema/json_schema_parser.h:32,
                 from src/mongo/db/matcher/schema/json_schema_parser.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_parser.h:37,
                 from src/mongo/db/matcher/schema/json_schema_parser.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/json_pointer.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/json_pointer.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/bson/bsonelement.h:35,
                 from src/mongo/db/matcher/schema/json_pointer.h:35,
                 from src/mongo/db/matcher/schema/json_pointer.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/matcher_type_set.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/matcher_type_set.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/bson/bsonelement.h:35,
                 from src/mongo/db/matcher/matcher_type_set.h:36,
                 from src/mongo/db/matcher/matcher_type_set.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return 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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(pipeline);
      |                ~~~~~~~~~^~~~~~~~~~
src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.h:16,
                 from build/59f4f0dd/mongo/db/matcher/schema/encrypt_schema_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_eq.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/unordered_fields_bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/schema/expression_internal_schema_eq.h: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
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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_algo.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_algo.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/assert_util.h:36,
                 from src/mongo/base/checked_cast.h:34,
                 from src/mongo/db/matcher/expression_algo.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_xor.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_tree.h:34,
                 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/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h: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
g++ -o build/59f4f0dd/mongo/db/matcher/expression_internal_expr_eq.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/expression_internal_expr_eq.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/bsonelement_comparator.h:32,
                 from src/mongo/db/matcher/expression_leaf.h:35,
                 from src/mongo/db/matcher/expression_internal_expr_eq.h:32,
                 from src/mongo/db/matcher/expression_internal_expr_eq.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move 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
g++ -o build/59f4f0dd/mongo/db/matcher/match_details.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/match_details.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/assert_util.h:36,
                 from src/mongo/db/matcher/match_details.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/matcher/extensions_callback.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/extensions_callback.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/extensions_callback.h:32,
                 from src/mongo/db/matcher/extensions_callback.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h: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/pipeline/expression_context.h:44,
                 from src/mongo/db/matcher/extensions_callback.h: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
g++ -o build/59f4f0dd/mongo/db/matcher/schema/expression_internal_schema_object_match.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/db/matcher/expression.h:36,
                 from src/mongo/db/matcher/expression_path.h:32,
                 from src/mongo/db/matcher/schema/expression_internal_schema_object_match.h:34,
                 from src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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
ar rc 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
ranlib build/59f4f0dd/mongo/db/matcher/libexpressions.a
g++ -o build/59f4f0dd/mongo/crypto/sha256_block.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/crypto/sha256_block.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/crypto/hash_block.h:38,
                 from src/mongo/crypto/sha256_block.h:32,
                 from src/mongo/crypto/sha256_block.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/crypto/libsha256_block.a build/59f4f0dd/mongo/crypto/sha256_block.o
ranlib build/59f4f0dd/mongo/crypto/libsha256_block.a
g++ -o build/59f4f0dd/mongo/db/query/sort_pattern.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/query/sort_pattern.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/db/exec/document_value/document_metadata_fields.h:34,
                 from src/mongo/db/exec/document_value/document_internal.h:38,
                 from src/mongo/db/exec/document_value/document.h:32,
                 from src/mongo/db/query/sort_pattern.h:33,
                 from src/mongo/db/query/sort_pattern.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move 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 rc build/59f4f0dd/mongo/db/query/libsort_pattern.a build/59f4f0dd/mongo/db/query/sort_pattern.o
ranlib build/59f4f0dd/mongo/db/query/libsort_pattern.a
g++ -o build/59f4f0dd/mongo/db/query/query_knobs_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/db/query/query_knobs_gen.h:16,
                 from build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
ar rc build/59f4f0dd/mongo/db/query/libquery_knobs.a build/59f4f0dd/mongo/db/query/query_knobs_gen.o
ranlib build/59f4f0dd/mongo/db/query/libquery_knobs.a
g++ -o build/59f4f0dd/mongo/util/regex_util.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/regex_util.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/util/regex_util.h:34,
                 from src/mongo/util/regex_util.cpp:31:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/util/libregex_util.a build/59f4f0dd/mongo/util/regex_util.o
ranlib build/59f4f0dd/mongo/util/libregex_util.a
g++ -o build/59f4f0dd/mongo/rpc/metadata/client_metadata.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/rpc/metadata/client_metadata.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/rpc/metadata/client_metadata.h:34,
                 from src/mongo/rpc/metadata/client_metadata.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/util/decorable.h:64,
                 from src/mongo/platform/mutex.h:46,
                 from src/mongo/util/time_support.h:40,
                 from src/mongo/bson/oid.h:38,
                 from src/mongo/bson/bsonelement.h:46,
                 from src/mongo/bson/bsonobj.h:44,
                 from src/mongo/rpc/metadata/client_metadata.h:37:
src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::ClientMetadataState; DecoratedType = mongo::Client]':
src/mongo/util/decorable.h:132:74:   required from 'static mongo::Decorable<DecoratedType>::Decoration<T> mongo::Decorable<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::ClientMetadataState; D = mongo::Client]'
src/mongo/rpc/metadata/client_metadata.cpp:80:75:   required from here
src/mongo/util/decoration_registry.h:71:67: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   71 |             typename DecorationContainer<DecoratedType>::template DecorationDescriptorWithType<T>(
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                 std::move(declareDecoration(
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
   73 |                     sizeof(T), std::alignment_of<T>::value, &constructAt<T>, &destroyAt<T>)));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/util/decoration_registry.h:71:67: note: remove 'std::move' call
src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::ClientMetadataState; DecoratedType = mongo::OperationContext]':
src/mongo/util/decorable.h:132:74:   required from 'static mongo::Decorable<DecoratedType>::Decoration<T> mongo::Decorable<DecoratedType>::declareDecoration() [with T = mongo::{anonymous}::ClientMetadataState; D = mongo::OperationContext]'
src/mongo/rpc/metadata/client_metadata.cpp:81:88:   required from here
src/mongo/util/decoration_registry.h:71:67: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
src/mongo/util/decoration_registry.h:71:67: note: remove 'std::move' call
ar rc build/59f4f0dd/mongo/rpc/libclient_metadata.a build/59f4f0dd/mongo/rpc/metadata/client_metadata.o
ranlib build/59f4f0dd/mongo/rpc/libclient_metadata.a
Generating build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp
g++ -o build/59f4f0dd/mongo/util/net/ssl_manager_openssl.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_manager_openssl.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/util/net/ssl_manager.h:40,
                 from src/mongo/util/net/ssl_manager_openssl.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/util/net/ssl_manager.h:54:
src/mongo/util/net/ssl_manager_openssl.cpp: In function 'bool mongo::{anonymous}::enableECDHE(SSL_CTX*)':
/home/pbulk/build/databases/mongodb4/work/.buildlink/include/openssl/ssl.h:1617:61: warning: statement has no effect [-Wunused-value]
 1617 | #  define SSL_CTX_set_ecdh_auto(dummy, onoff)      ((onoff) != 0)
      |                                                    ~~~~~~~~~^~~~~
src/mongo/util/net/ssl_manager_openssl.cpp:200:5: note: in expansion of macro 'SSL_CTX_set_ecdh_auto'
  200 |     SSL_CTX_set_ecdh_auto(ctx, true);
      |     ^~~~~~~~~~~~~~~~~~~~~
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
In file included from src/mongo/util/decorable.h:64,
                 from src/mongo/platform/mutex.h:46,
                 from src/mongo/util/time_support.h:40,
                 from src/mongo/bson/oid.h:38,
                 from src/mongo/bson/bsonelement.h:46,
                 from src/mongo/bson/bsonobj.h:44,
                 from src/mongo/util/net/ssl_manager.h:41:
src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = boost::optional<mongo::{anonymous}::OCSPCache>; DecoratedType = mongo::ServiceContext]':
src/mongo/util/decorable.h:132:74:   required from 'static mongo::Decorable<DecoratedType>::Decoration<T> mongo::Decorable<DecoratedType>::declareDecoration() [with T = boost::optional<mongo::{anonymous}::OCSPCache>; D = mongo::ServiceContext]'
src/mongo/util/net/ssl_manager_openssl.cpp:1085:66:   required from here
src/mongo/util/decoration_registry.h:71:67: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   71 |             typename DecorationContainer<DecoratedType>::template DecorationDescriptorWithType<T>(
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                 std::move(declareDecoration(
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
   73 |                     sizeof(T), std::alignment_of<T>::value, &constructAt<T>, &destroyAt<T>)));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/util/decoration_registry.h:71:67: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/util/net/ssl_parameters_gen.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/util/net/ssl_parameters_gen.h:16,
                 from build/59f4f0dd/mongo/util/net/ssl_parameters_gen.cpp:9:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/copyable_match_expression.h:32,
                 from src/mongo/db/query/projection_ast.h:33,
                 from src/mongo/db/query/projection.h:33,
                 from src/mongo/db/query/canonical_query.h: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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return std::move(expr);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
g++ -o build/59f4f0dd/mongo/util/net/ssl_manager.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_manager.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/util/net/ssl_manager.h:40,
                 from src/mongo/util/net/ssl_manager.cpp:35:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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/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:
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]
  201 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:201:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]
  223 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:223:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]
  245 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:245:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]
  267 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:267:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]
  289 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:289:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]
  308 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:308:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]
  352 |         return std::move(m);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:352:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]
  388 |         return std::move(e);
      |                ~~~~~~~~~^~~
src/mongo/db/matcher/expression_leaf.h:388:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]
  574 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:574:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]
  595 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:595:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]
  616 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:616:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]
  637 |         return std::move(bitTestMatchExpression);
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/matcher/expression_leaf.h:637:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h:38,
                 from src/mongo/db/matcher/copyable_match_expression.h:32,
                 from src/mongo/db/query/projection_ast.h:33,
                 from src/mongo/db/query/projection.h:33,
                 from src/mongo/db/query/canonical_query.h: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:
src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const':
src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]
  196 |         return std::move(expr);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
src/mongo/util/net/ssl_manager.cpp: In function 'mongo::StatusWith<std::vector<std::vector<unsigned char> > > mongo::parseTLSFeature(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
In file included from src/mongo/util/decorable.h:64,
                 from src/mongo/platform/mutex.h:46,
                 from src/mongo/util/time_support.h:40,
                 from src/mongo/bson/oid.h:38,
                 from src/mongo/bson/bsonelement.h:46,
                 from src/mongo/bson/bsonobj.h:44,
                 from src/mongo/util/net/ssl_manager.h:41:
src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::TLSVersionCounts; DecoratedType = mongo::ServiceContext]':
src/mongo/util/decorable.h:132:74:   required from 'static mongo::Decorable<DecoratedType>::Decoration<T> mongo::Decorable<DecoratedType>::declareDecoration() [with T = mongo::TLSVersionCounts; D = mongo::ServiceContext]'
src/mongo/util/net/ssl_manager.cpp:283:85:   required from here
src/mongo/util/decoration_registry.h:71:67: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   71 |             typename DecorationContainer<DecoratedType>::template DecorationDescriptorWithType<T>(
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                 std::move(declareDecoration(
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
   73 |                     sizeof(T), std::alignment_of<T>::value, &constructAt<T>, &destroyAt<T>)));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/util/decoration_registry.h:71:67: note: remove 'std::move' call
g++ -o build/59f4f0dd/mongo/util/net/private/ssl_expiration.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/private/ssl_expiration.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/background.h:36,
                 from src/mongo/util/net/private/ssl_expiration.h:32,
                 from src/mongo/util/net/private/ssl_expiration.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/util/net/ssl_parameters.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_parameters.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/net/ssl_parameters.h:34,
                 from src/mongo/util/net/ssl_parameters.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/util/net/ocsp/ocsp_manager.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ocsp/ocsp_manager.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/base/status_with.h:38,
                 from src/mongo/db/namespace_string.h:37,
                 from src/mongo/db/client.h:42,
                 from src/mongo/util/net/ocsp/ocsp_manager.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/util/net/ssl_stream.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/net/ssl_stream.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/fail_point.h:35,
                 from src/mongo/util/net/ssl_stream.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc 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
ranlib build/59f4f0dd/mongo/util/net/libssl_manager.a
g++ -o build/59f4f0dd/mongo/util/executor_stats.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/executor_stats.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/util/executor_stats.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/util/libexecutor_stats.a build/59f4f0dd/mongo/util/executor_stats.o
ranlib build/59f4f0dd/mongo/util/libexecutor_stats.a
g++ -o build/59f4f0dd/mongo/util/read_through_cache.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_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/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/util/read_through_cache.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/bson/oid.h:34,
                 from src/mongo/util/read_through_cache.h:34,
                 from src/mongo/util/read_through_cache.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc build/59f4f0dd/mongo/util/libcaching.a build/59f4f0dd/mongo/util/read_through_cache.o
ranlib build/59f4f0dd/mongo/util/libcaching.a
g++ -o build/59f4f0dd/mongo/db/concurrency/lock_stats.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_stats.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_type_endian.h:35,
                 from src/mongo/db/concurrency/lock_manager_defs.h:39,
                 from src/mongo/db/concurrency/lock_stats.h:32,
                 from src/mongo/db/concurrency/lock_stats.cpp:32:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/db/concurrency/lock_state.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_state.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/status.h:35,
                 from src/mongo/util/assert_util.h:36,
                 from src/mongo/db/concurrency/fast_map_noalloc.h:35,
                 from src/mongo/db/concurrency/lock_state.h:34,
                 from src/mongo/db/concurrency/lock_state.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/pipeline/expression_context.h:44,
                 from 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
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/explain.h: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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 from src/mongo/db/query/explain.h:36:
src/mongo/util/with_alignment.h: At global scope:
src/mongo/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
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
g++ -o build/59f4f0dd/mongo/db/concurrency/replication_state_transition_lock_guard.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/replication_state_transition_lock_guard.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_type_endian.h:35,
                 from src/mongo/db/concurrency/lock_manager_defs.h:39,
                 from src/mongo/db/concurrency/replication_state_transition_lock_guard.h:34,
                 from src/mongo/db/concurrency/replication_state_transition_lock_guard.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
Generating build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp
Generating build/59f4f0dd/mongo/rpc/topology_version_gen.cpp
Generating build/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp
g++ -o build/59f4f0dd/mongo/db/concurrency/lock_manager.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/lock_manager.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/db/concurrency/lock_manager.h:37,
                 from src/mongo/db/concurrency/lock_manager.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 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/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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
g++ -o build/59f4f0dd/mongo/db/concurrency/d_concurrency.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/db/concurrency/d_concurrency.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_view.h:37,
                 from src/mongo/bson/bsonobjbuilder.h:44,
                 from src/mongo/db/concurrency/flow_control_ticketholder.h:32,
                 from src/mongo/db/concurrency/locker.h:35,
                 from src/mongo/db/concurrency/d_concurrency.h:34,
                 from src/mongo/db/concurrency/d_concurrency.cpp:34:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
In file included from src/mongo/db/catalog/util/partitioned.h:44,
                 from src/mongo/db/query/plan_executor.h:35,
                 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/util/with_alignment.h:64:90: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
   64 | using CacheAligned = WithAlignmentAtLeast<T, stdx::hardware_destructive_interference_size>;
      |                                                                                          ^
src/mongo/util/with_alignment.h:64:90: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/with_alignment.h:64:90: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/with_alignment.h:64:90: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/with_alignment.h:64:90: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
In file included from src/mongo/db/matcher/expression_text_base.h:32,
                 from src/mongo/db/matcher/extensions_callback.h:33,
                 from src/mongo/db/matcher/extensions_callback_noop.h:32,
                 from src/mongo/db/query/canonical_query.h:36,
                 from src/mongo/db/query/plan_cache.h:36,
                 from src/mongo/db/query/query_solution.h:40,
                 from src/mongo/db/query/plan_executor.h: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:
src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)':
src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move]
   92 |         return std::move(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:
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]
  126 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]
  155 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]
  184 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call
src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const':
src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]
  202 |         return std::move(self);
      |                ~~~~~~~~~^~~~~~
src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call
In file included from src/mongo/db/matcher/expression_parser.h: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 rc 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
ranlib build/59f4f0dd/mongo/db/concurrency/liblock_manager.a
Generating build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.cpp
g++ -o build/59f4f0dd/mongo/client/sdam/sdam_configuration.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/sdam_configuration.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from build/59f4f0dd/mongo/client/sdam/sdam_configuration_parameters_gen.h:16,
                 from src/mongo/client/sdam/sdam_configuration.h:31,
                 from src/mongo/client/sdam/sdam_configuration.cpp:29:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/server_description.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/server_description.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/bson/oid.h:34,
                 from src/mongo/client/sdam/server_description.h:38,
                 from src/mongo/client/sdam/server_description.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
src/mongo/client/sdam/server_description.cpp: In member function 'void mongo::sdam::ServerDescription::saveTags(mongo::BSONObj)':
src/mongo/client/sdam/server_description.cpp:131:21: warning: loop variable 'key' creates a copy from type 'const std::__cxx11::basic_string<char>' [-Wrange-loop-construct]
  131 |     for (const auto key : keys) {
      |                     ^~~
src/mongo/client/sdam/server_description.cpp:131:21: note: use reference type to prevent copying
  131 |     for (const auto key : keys) {
      |                     ^~~
      |                     &
g++ -o build/59f4f0dd/mongo/client/sdam/topology_description.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_description.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/bson/oid.h:34,
                 from src/mongo/client/sdam/topology_description.h:37,
                 from src/mongo/client/sdam/topology_description.cpp:31:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/topology_manager.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_manager.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/client/sdam/sdam_datatypes.h:36,
                 from src/mongo/client/sdam/topology_manager.h:32,
                 from src/mongo/client/sdam/topology_manager.cpp:31:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/sdam_datatypes.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/sdam_datatypes.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/client/sdam/sdam_datatypes.h:36,
                 from src/mongo/client/sdam/sdam_datatypes.cpp:30:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/server_selector.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/server_selector.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from src/mongo/base/string_data_comparator_interface.h:32,
                 from src/mongo/bson/bson_comparator_interface_base.h:37,
                 from src/mongo/bson/bsonobj_comparator_interface.h:32,
                 from src/mongo/bson/simple_bsonobj_comparator.h:35,
                 from src/mongo/client/read_preference.h:32,
                 from src/mongo/client/sdam/server_selector.h:33,
                 from src/mongo/client/sdam/server_selector.cpp:29:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/topology_state_machine.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_state_machine.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/base/data_range.h:36,
                 from src/mongo/bson/oid.h:34,
                 from src/mongo/client/sdam/server_description.h:38,
                 from src/mongo/client/sdam/topology_state_machine.h:33,
                 from src/mongo/client/sdam/topology_state_machine.cpp:31:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
g++ -o build/59f4f0dd/mongo/client/sdam/topology_listener.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -ffp-contract=off -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fno-builtin-memcmp -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/59f4f0dd -Isrc src/mongo/client/sdam/topology_listener.cpp
In file included from src/third_party/fmt/dist/include/fmt/format.h:36,
                 from src/mongo/base/string_data.h:39,
                 from build/59f4f0dd/mongo/base/error_codes.h:36,
                 from src/mongo/base/data_type.h:37,
                 from src/mongo/bson/bsonobj.h:40,
                 from src/mongo/client/sdam/sdam_datatypes.h:36,
                 from src/mongo/client/sdam/topology_listener.h:34,
                 from src/mongo/client/sdam/topology_listener.cpp:29:
src/third_party/fmt/dist/include/fmt/core.h:369:6: warning: identifier 'char8_t' is a keyword in C++20 [-Wc++20-compat]
  369 | enum char8_t : unsigned char {};
      |      ^~~~~~~
ar rc 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
ranlib build/59f4f0dd/mongo/client/sdam/libsdam.a
gcc -o build/59f4f0dd/third_party/mozjs-60/extract/mfbt/lz4.o -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -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 -Wno-exceptions -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/solaris/build -Isrc/third_party/mozjs-60/platform/x86_64/solaris/build -Ibuild/59f4f0dd/third_party/mozjs-60/platform/x86_64/solaris/include -Isrc/third_party/mozjs-60/platform/x86_64/solaris/include -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/mozjs-60/extract/mfbt/lz4.c
cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C
<command-line>: fatal error: js-confdefs.h: No such file or directory
compilation terminated.
scons: *** [build/59f4f0dd/third_party/mozjs-60/extract/mfbt/lz4.o] Error 1
scons: building terminated because of errors.
build/59f4f0dd/third_party/mozjs-60/extract/mfbt/lz4.o failed: Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongodb4
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/mongodb4