+ 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" Install file: "distsrc/LICENSE-Community.txt" as "build/install/LICENSE-Community.txt" Install file: "distsrc/README" as "build/install/README" Install file: "distsrc/THIRD-PARTY-NOTICES" as "build/install/THIRD-PARTY-NOTICES" Creating 'build/59f4f0dd/mongo/resmoke/resmoke.py' Install file: "build/59f4f0dd/mongo/resmoke/resmoke.py" as "build/install/bin/resmoke.py" Chmod("build/install/bin/resmoke.py", "u+x") Generating build/59f4f0dd/mongo/db/generic_cursor_gen.cpp Generating build/59f4f0dd/mongo/db/ops/write_ops_gen.cpp Generating build/59f4f0dd/mongo/db/repl/apply_ops_gen.cpp Generating build/59f4f0dd/mongo/client/hedging_mode_gen.cpp Generating build/59f4f0dd/mongo/db/query/tailable_mode_gen.cpp Generating build/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp Generating build/59f4f0dd/mongo/s/database_version_gen.cpp Generating build/59f4f0dd/mongo/db/ops/single_write_result_gen.cpp Generating build/59f4f0dd/mongo/db/pipeline/runtime_constants_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/repl/oplog_entry_gen.cpp Generating build/59f4f0dd/mongo/db/logical_session_id_gen.cpp Generating build/59f4f0dd/mongo/rpc/topology_version_gen.cpp Generating build/59f4f0dd/mongo/db/read_write_concern_provenance_base_gen.cpp Generating build/59f4f0dd/mongo/db/repl/repl_set_config_gen.cpp Creating 'build/59f4f0dd/mongo/config.h' Generating build/59f4f0dd/mongo/db/repl/repl_settings_gen.cpp Generating build/59f4f0dd/mongo/client/read_preference_gen.cpp Generating build/59f4f0dd/mongo/db/query/query_knobs_gen.cpp /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 Generating build/59f4f0dd/mongo/db/repl/optime_base_gen.cpp g++ -o build/59f4f0dd/mongo/db/catalog/index_builds_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/catalog/index_builds_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/db/catalog/multi_index_block.h:39, from src/mongo/db/catalog/index_builds_manager.h:37, from src/mongo/db/catalog/index_builds_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/index_builds_manager.cpp: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 ar rc build/59f4f0dd/mongo/db/catalog/libindex_builds_manager.a build/59f4f0dd/mongo/db/catalog/index_builds_manager.o ranlib build/59f4f0dd/mongo/db/catalog/libindex_builds_manager.a Generating build/59f4f0dd/mongo/db/auth/auth_options_gen.cpp g++ -o build/59f4f0dd/mongo/db/commands/authentication_commands.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/commands/authentication_commands.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/commands/authentication_commands.h:32, from src/mongo/db/commands/authentication_commands.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/authentication_commands.cpp:54: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move] 92 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/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/commands/libauthentication_commands.a build/59f4f0dd/mongo/db/commands/authentication_commands.o ranlib build/59f4f0dd/mongo/db/commands/libauthentication_commands.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/mongo/base/secure_allocator.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/base/secure_allocator.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/base/secure_allocator.h:42, from src/mongo/base/secure_allocator.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/base/libsecure_allocator.a build/59f4f0dd/mongo/base/secure_allocator.o ranlib build/59f4f0dd/mongo/base/libsecure_allocator.a g++ -o build/59f4f0dd/mongo/db/repl/replication_info.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/repl/replication_info.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/repl/replication_info.cpp:36: 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/auth/sasl_mechanism_registry.h:38, from src/mongo/db/repl/replication_info.cpp:40: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move] 92 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/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/repl/libreplication_info.a build/59f4f0dd/mongo/db/repl/replication_info.o ranlib build/59f4f0dd/mongo/db/repl/libreplication_info.a g++ -o build/59f4f0dd/mongo/util/latch_analyzer.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/latch_analyzer.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/base/simple_string_data_comparator.h:32, from src/mongo/util/latch_analyzer.h:32, from src/mongo/util/latch_analyzer.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/util/latch_analyzer.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 In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/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' 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/db/repl/optime.h:34, from src/mongo/db/namespace_string.h:40, from src/mongo/db/client.h:42, from src/mongo/util/latch_analyzer.h:35: src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::LatchAnalyzer; 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::LatchAnalyzer; D = mongo::ServiceContext]' src/mongo/util/latch_analyzer.cpp:60:79: 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}::LatchSetState; 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}::LatchSetState; D = mongo::Client]' src/mongo/util/latch_analyzer.cpp:146:71: 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/util/liblatch_analyzer.a build/59f4f0dd/mongo/util/latch_analyzer.o ranlib build/59f4f0dd/mongo/util/liblatch_analyzer.a Generating build/59f4f0dd/mongo/db/auth/sasl_options_gen.cpp g++ -o build/59f4f0dd/mongo/db/auth/sasl_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/auth/sasl_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/db/auth/sasl_options.h:36, from src/mongo/db/auth/sasl_options.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 {}; | ^~~~~~~ In file included from src/mongo/db/stats/counters.h:42, from src/mongo/db/auth/sasl_options.cpp:32: 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/libsasl_options.a build/59f4f0dd/mongo/db/auth/sasl_options.o ranlib build/59f4f0dd/mongo/db/auth/libsasl_options.a g++ -o build/59f4f0dd/mongo/db/repl/roll_back_local_operations.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/repl/roll_back_local_operations.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/repl/roll_back_local_operations.h:34, from src/mongo/db/repl/roll_back_local_operations.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/db/repl/libroll_back_local_operations.a build/59f4f0dd/mongo/db/repl/roll_back_local_operations.o ranlib build/59f4f0dd/mongo/db/repl/libroll_back_local_operations.a g++ -o build/59f4f0dd/mongo/db/operation_killer.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_killer.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/db/operation_killer.h:32, from src/mongo/db/operation_killer.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/db/liboperation_killer.a build/59f4f0dd/mongo/db/operation_killer.o ranlib build/59f4f0dd/mongo/db/liboperation_killer.a Generating build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp g++ -o build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_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/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/rpc/metadata/impersonated_user_metadata_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/rpc/metadata/impersonated_user_metadata_gen.h:16, from build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata_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/rpc/metadata/impersonated_user_metadata_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)': src/mongo/db/pipeline/aggregation_request.h:92:25: warning: redundant move in return statement [-Wredundant-move] 92 | return std::move(pipeline); | ~~~~~~~~~^~~~~~~~~~ src/mongo/db/pipeline/aggregation_request.h:92:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/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/rpc/metadata/impersonated_user_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/impersonated_user_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/db/operation_context.h:35, from src/mongo/rpc/metadata/impersonated_user_metadata.h:34, from src/mongo/rpc/metadata/impersonated_user_metadata.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/rpc/metadata/impersonated_user_metadata.cpp: In function 'size_t mongo::rpc::estimateImpersonatedUserMetadataSize(mongo::OperationContext*)': src/mongo/rpc/metadata/impersonated_user_metadata.cpp:128:56: error: call of overloaded 'log10(size_t)' is ambiguous 128 | ret += 1 + static_cast<std::size_t>(1.1 + log10(i + 1)) + 1; | ~~~~~^~~~~~~ In file included from /usr/include/math.h:35, from /opt/tools/gcc13/include/c++/13.3.0/bits/std_abs.h:40, from /opt/tools/gcc13/include/c++/13.3.0/cstdlib:81, from /opt/tools/gcc13/include/c++/13.3.0/bits/stl_algo.h:71, from /opt/tools/gcc13/include/c++/13.3.0/algorithm:61, from src/third_party/boost-1.70.0/boost/core/swap.hpp:27, from src/third_party/boost-1.70.0/boost/optional/optional.hpp:31, from src/third_party/boost-1.70.0/boost/optional.hpp:15, from src/mongo/rpc/metadata/impersonated_user_metadata.h:32: /usr/include/iso/math_iso.h:216:28: note: candidate: 'long double std::log10(long double)' 216 | inline long double log10(long double __X) { return __log10l(__X); } | ^~~~~ /usr/include/iso/math_iso.h:173:22: note: candidate: 'float std::log10(float)' 173 | inline float log10(float __X) { return __log10f(__X); } | ^~~~~ /usr/include/iso/math_iso.h:73:15: note: candidate: 'double std::log10(double)' 73 | extern double log10(double); | ^~~~~ src/mongo/rpc/metadata/impersonated_user_metadata.cpp:138:56: error: call of overloaded 'log10(size_t)' is ambiguous 138 | ret += 1 + static_cast<std::size_t>(1.1 + log10(i + 1)) + 1; | ~~~~~^~~~~~~ /usr/include/iso/math_iso.h:216:28: note: candidate: 'long double std::log10(long double)' 216 | inline long double log10(long double __X) { return __log10l(__X); } | ^~~~~ /usr/include/iso/math_iso.h:173:22: note: candidate: 'float std::log10(float)' 173 | inline float log10(float __X) { return __log10f(__X); } | ^~~~~ /usr/include/iso/math_iso.h:73:15: note: candidate: 'double std::log10(double)' 73 | extern double log10(double); | ^~~~~ 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/db/repl/optime.h:34, from src/mongo/db/namespace_string.h:40, from src/mongo/db/client.h:42, from src/mongo/db/operation_context.h:36: src/mongo/util/decoration_registry.h: In instantiation of 'auto mongo::DecorationRegistry<DecoratedType>::declareDecoration() [with T = mongo::synchronized_value<boost::optional<mongo::rpc::ImpersonatedUserMetadata> >; 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::synchronized_value<boost::optional<mongo::rpc::ImpersonatedUserMetadata> >; D = mongo::OperationContext]' src/mongo/rpc/metadata/impersonated_user_metadata.cpp:42:91: 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 scons: *** [build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata.o] Error 1 scons: building terminated because of errors. build/59f4f0dd/mongo/rpc/metadata/impersonated_user_metadata.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