mongodb-4.4.13
checks.aarch64-linux.mongodb-4_4
· build #1
· raw
1elastic-arm-384804be: building 5lbcg617h2j6cw2hkpv86iiy1zbzwdnh-mongodb-4.4.13.drv
unpackPhase
2unpacking sources3unpacking source archive /nix/store/59d3c244328av208a7npmzfxh5xyw1l1-mongodb-src-r4.4.13.tar.gz4source root is mongodb-src-r4.4.135setting SOURCE_DATE_EPOCH to timestamp 1646237001 of file mongodb-src-r4.4.13/version.jsonpatchPhase
6patching sources7applying patch /nix/store/mk0aww969qgi8l37xzqcvcs4r3827pp7-forget-build-dependencies-4-4.patch8patching file site_scons/mongo/generators.py9applying patch /nix/store/3823msnga4qih2j18fcypc2h24vsnshi-fix-build-with-boost-1.79-4_4.patch10patching file src/mongo/db/storage/storage_repair_observer.cpp11patching file src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp12patching file src/mongo/shell/shell_utils_extended.cpp13patching file src/mongo/util/processinfo_linux.cpp14patching file src/mongo/util/stacktrace_threads.cppupdateAutotoolsGnuConfigScriptsPhase
15updateAutotoolsGnuConfigScriptsPhase16Updating Autotools / GNU config script to a newer upstream version: ./src/third_party/unwind/dist/config/config.sub17Updating Autotools / GNU config script to a newer upstream version: ./src/third_party/gperftools-2.7/dist/config.sub18Updating Autotools / GNU config script to a newer upstream version: ./src/third_party/unwind/dist/config/config.guess19Updating Autotools / GNU config script to a newer upstream version: ./src/third_party/gperftools-2.7/dist/config.guessconfigurePhase
20configuring21fixing libtool script ./src/third_party/unwind/dist/config/ltmain.sh22fixing libtool script ./src/third_party/gperftools-2.7/dist/ltmain.sh23./src/third_party/unwind/dist/configure24./src/third_party/gperftools-2.7/dist/configure25no configure script, doing nothingbuildPhase
26building27build flags: -j16 --release --ssl --wiredtiger=on --js-engine=mozjs --use-sasl-client --disable-warnings-as-errors VARIANT_DIR=nixos --link-model=static --use-system-boost --use-system-pcre --use-system-snappy --use-system-yaml --use-system-zlib --use-system-tcmalloc CC=gcc CXX=g++ CCFLAGS=\'-march=armv8-a+crc\' DESTDIR=/nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.1328scons: Reading SConscript files ...29scons: running with args /nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python /nix/store/d15vzrilm9kyj1i7hc0g7b54gsy75f9r-scons-3.1.2/bin/scons -j16 --release --ssl --wiredtiger=on --js-engine=mozjs --use-sasl-client --disable-warnings-as-errors VARIANT_DIR=nixos --link-model=static --use-system-boost --use-system-pcre --use-system-snappy --use-system-yaml --use-system-zlib --use-system-tcmalloc CC=gcc CXX=g++ CCFLAGS='-march=armv8-a+crc' DESTDIR=/nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.1330Mkdir("build/scons")31scons version: 3.1.232python version: 3 10 9 'final' 033CC is gcc34gcc found in $PATH at /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/gcc35CXX is g++36g++ found in $PATH at /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/g++37Checking whether the C compiler works... yes38Checking whether the C++ compiler works... yes39Checking that the C++ compiler can link a C++ program... yes40Checking if C++ compiler "g++" is GCC... yes41Checking if C compiler "gcc" is GCC... yes42Detected a aarch64 processor43Checking if target OS linux is supported by the toolchain... yes44Checking if C compiler is GCC 8.2 or newer...yes45Checking if C++ compiler is GCC 8.2 or newer...yes46Checking if C compiler supports -Wno-unused-local-typedefs... yes47Checking if C compiler supports -Wno-unused-function... yes48Checking if C compiler supports -Wno-unused-private-field... no49Checking if C compiler supports -Wno-deprecated-declarations... yes50Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no51Checking if C compiler supports -Wno-tautological-constant-compare... no52Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no53Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no54Checking if C compiler supports -Wno-unused-const-variable... yes55Checking if C compiler supports -Wno-unused-but-set-variable... yes56Checking if C compiler supports -Wno-missing-braces... yes57Checking if C compiler supports -Wno-inconsistent-missing-override... no58Checking if C compiler supports -Wno-potentially-evaluated-expression... no59Checking if C++ compiler supports -Wpessimizing-move... yes60Checking if C++ compiler supports -Wredundant-move... yes61Checking if C++ compiler supports -Wno-maybe-uninitialized... yes62Checking if C++ compiler supports -Wno-undefined-var-template... no63Checking if C++ compiler supports -Wno-instantiation-after-specialization... no64Checking if C compiler supports -Wno-unused-lambda-capture... no65Checking if C compiler supports -Wno-exceptions... no66Checking if C++ compiler supports -fsized-deallocation... yes67Checking if C++ compiler supports -Wno-defaulted-function-deleted... no68Checking if C++ compiler supports -Wunused-exception-parameter... no69Checking -Wnon-virtual-dtor for false positives... no70Checking if C compiler supports -fstack-protector-strong... yes71Checking if we are using libstdc++... yes72Checking if C++ compiler supports -std=c++17... yes73Checking if C compiler supports -std=c11... yes74WARNING: System versions of C++ libraries must be compiled with C++14/17 support75Checking for C++17... yes76Checking for memset_s... no77Checking for C function strnlen()... yes78Checking for libstdc++ 5.3.0 or better... yes79Checking if we are on a POSIX system... yes80Checking if the POSIX monotonic clock is supported... yes81Checking off_t is 8 bytes... yes82Checking if linker supports -fuse-ld=lld... no83Checking if linker supports -fuse-ld=gold... yes84Checking if linker supports -Wl,--no-threads... yes85Checking if linker supports -Wl,--build-id... yes86Checking if linker supports -Wl,--hash-style=gnu... yes87Checking if linker supports -Wl,-z,noexecstack... yes88Checking if linker supports -Wl,--warn-execstack... yes89Checking if linker supports -Wl,-z,relro... yes90Checking for glibc with non-broken _FORTIFY_SOURCE...yes91Checking for storage class thread_local yes92Checking for C++14 std::enable_if_t support...yes93Checking if pthread_setname_np is supported... yes94Checking for SSLeay_version(0) in C library crypto... yes95Checking for SSL_version(NULL) in C library ssl... yes96Checking that linking to OpenSSL works...yes97Checking whether FIPS_mode_set is declared... no98Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes99Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes100Checking if EC_KEY_new_by_curve_name is supported... yes101Using SSL Provider: openssl102Checking for C library pcre... yes103Checking for C library pcrecpp... yes104Checking for C library snappy... yes105Checking for C library z... yes106Checking for C library yaml-cpp... yes107Checking for C++ header file boost/filesystem/operations.hpp... yes108Checking if system boost version is 1.49 or newer...yes109Checking for C++ library boost_filesystem-mt... no110Checking for C++ library boost_filesystem... yes111Checking for C++ library boost_program_options-mt... no112Checking for C++ library boost_program_options... yes113Checking for C++ library boost_system-mt... no114Checking for C++ library boost_system... yes115Checking for C++ library boost_iostreams-mt... no116Checking for C++ library boost_iostreams... yes117Checking for C++ library boost_thread-mt... no118Checking for C++ library boost_thread... yes119Checking for C++ library boost_log-mt... no120Checking for C++ library boost_log... yes121Checking for C library rt... yes122Checking for C library dl... yes123Checking for C++ header file execinfo.h... yes124Checking whether backtrace is declared... yes125Checking whether backtrace_symbols is declared... yes126Checking whether backtrace_symbols_fd is declared... yes127Checking for C library pcap... yes128Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes129Checking for C library tcmalloc... yes130Checking if std::atomic<int64_t> works... yes131Checking if std::atomic<uint64_t> works... yes132Checking if std::atomic<int32_t> works... yes133Checking if std::atomic<uint32_t> works... yes134Checking for extended alignment 64 for concurrency types... yes135Checking for mongoc_get_major_version() in C library mongoc-1.0... no136Checking for curl_global_init(0) in C library curl... yes137Checking for curl_global_init(0) in C library curl... yes138Checking if C compiler supports -moutline-atomics... yes139Checking for C header file sys/sdt.h... no140Checking for C function fallocate()... yes141Checking for C function sync_file_range()... yes142Checking for C header file arm_neon.h... yes143scons: done reading SConscript files.144scons: Building targets ...145Generating build/nixos/mongo/db/read_write_concern_provenance_base_gen.cpp146Generating build/nixos/mongo/db/logical_session_id_gen.cpp147Generating build/nixos/mongo/db/repl/apply_ops_gen.cpp148Generating build/nixos/mongo/db/repl/oplog_entry_gen.cpp149Generating build/nixos/mongo/db/generic_cursor_gen.cpp150Generating build/nixos/mongo/client/read_preference_gen.cpp151Generating build/nixos/mongo/db/ops/single_write_result_gen.cpp152/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/nixos/mongo/base/error_codes.h153Generating build/nixos/mongo/db/query/tailable_mode_gen.cpp154Generating build/nixos/mongo/db/query/query_knobs_gen.cpp155Generating build/nixos/mongo/client/hedging_mode_gen.cpp156Generating build/nixos/mongo/db/ops/write_ops_gen.cpp157Generating build/nixos/mongo/db/pipeline/runtime_constants_gen.cpp158Generating build/nixos/mongo/s/database_version_gen.cpp159Generating build/nixos/mongo/db/pipeline/exchange_spec_gen.cpp160Creating 'build/nixos/mongo/config.h'161/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/nixos/mongo/db/auth/action_type_gen.h build/nixos/mongo/db/auth/action_type_gen.cpp162Compiling build/nixos/third_party/icu4c-57.1/source/i18n/digitformatter.o163Generating build/nixos/mongo/db/repl/optime_base_gen.cpp164/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.cpp build/nixos/mongo/base/error_codes.cpp165Compiling build/nixos/third_party/icu4c-57.1/source/common/cmemory.o166Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o167Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o168Compiling build/nixos/third_party/icu4c-57.1/source/i18n/timezone.o169Compiling build/nixos/third_party/icu4c-57.1/source/common/ucnvhz.o170Generating build/nixos/mongo/scripting/mozjs/engine_gen.cpp171Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o172Compiling build/nixos/mongo/scripting/mozjs/idwrapper.o173Compiling build/nixos/mongo/db/pipeline/document_path_support.o174Compiling build/nixos/mongo/db/wire_version.o175Compiling build/nixos/mongo/util/concurrency/ticketholder.o176Compiling build/nixos/mongo/db/query/killcursors_request.o177Compiling build/nixos/mongo/client/index_spec.o178Compiling build/nixos/third_party/icu4c-57.1/source/i18n/gregoimp.o179Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o180Compiling build/nixos/third_party/zstandard-1.4.3/zstd/lib/compress/zstd_lazy.o181Compiling build/nixos/mongo/logv2/log_component_settings.o182Compiling build/nixos/mongo/util/system_tick_source.o183Compiling build/nixos/mongo/db/default_baton.o184Compiling build/nixos/third_party/icu4c-57.1/source/i18n/ucol.o185Compiling build/nixos/mongo/util/boost_assert_shim.o186Compiling build/nixos/mongo/scripting/mozjs/engine.o187Compiling build/nixos/third_party/icu4c-57.1/source/common/ucnvisci.o188Compiling build/nixos/mongo/logv2/file_rotate_sink.o189Generating build/nixos/mongo/s/chunk_version_gen.cpp190Compiling build/nixos/mongo/util/net/ssl_stream.o191Compiling build/nixos/mongo/s/chunk_version_gen.o192Compiling build/nixos/mongo/shell/shell_options_init.o193Compiling build/nixos/mongo/client/sasl_client_session.o194Compiling build/nixos/mongo/client/sasl_client_authenticate_impl.o195Generating build/nixos/mongo/client/sasl_aws_client_protocol_gen.cpp196Generating library build/nixos/mongo/db/libwire_version.a197Skipping ranlib for thin archive build/nixos/mongo/db/libwire_version.a198Generating build/nixos/mongo/client/sasl_aws_protocol_common_gen.cpp199Compiling build/nixos/mongo/client/sasl_plain_client_conversation.o200Compiling build/nixos/mongo/client/sasl_aws_client_conversation.o201Generating build/nixos/mongo/client/sasl_sspi_options_gen.cpp202Compiling build/nixos/mongo/client/sasl_sspi_options_gen.o203In file included from src/mongo/db/pipeline/expression_context.h:44,204 from src/mongo/db/pipeline/document_path_support.h:38,205 from src/mongo/db/pipeline/document_path_support.cpp:34:206src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:207src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]208 90 | return std::move(pipeline);209 | ~~~~~~~~~^~~~~~~~~~210src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call211Compiling build/nixos/mongo/client/sasl_sspi_options.o212Compiling build/nixos/mongo/client/sasl_client_conversation.o213Compiling build/nixos/mongo/client/cyrus_sasl_client_session.o214In file included from src/mongo/db/matcher/expression_text_base.h:32,215 from src/mongo/db/matcher/extensions_callback.h:33,216 from src/mongo/db/matcher/extensions_callback_noop.h:32,217 from src/mongo/db/query/canonical_query.h:36,218 from src/mongo/db/query/plan_cache.h:36,219 from src/mongo/db/query/query_solution.h:40,220 from src/mongo/db/query/plan_executor.h:36,221 from src/mongo/db/clientcursor.h:40,222 from src/mongo/db/query/killcursors_request.h:36,223 from src/mongo/db/query/killcursors_request.cpp:34:224src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:225src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]226 201 | return std::move(e);227 | ~~~~~~~~~^~~228src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call229src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:230src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]231 223 | return std::move(e);232 | ~~~~~~~~~^~~233src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call234src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:235src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]236 245 | return std::move(e);237 | ~~~~~~~~~^~~238src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call239src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:240src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]241 267 | return std::move(e);242 | ~~~~~~~~~^~~243src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call244src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:245src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]246 289 | return std::move(e);247 | ~~~~~~~~~^~~248src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call249src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:250src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]251 308 | return std::move(e);252 | ~~~~~~~~~^~~253src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call254src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:255src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]256 352 | return std::move(m);257 | ~~~~~~~~~^~~258src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call259src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:260src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]261 388 | return std::move(e);262 | ~~~~~~~~~^~~263src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call264src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:265src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]266 574 | return std::move(bitTestMatchExpression);267 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~268src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call269src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:270src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]271 595 | return std::move(bitTestMatchExpression);272 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~273src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call274Compiling build/nixos/mongo/client/native_sasl_client_session.o275src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:276src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]277 616 | return std::move(bitTestMatchExpression);278 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~279src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call280src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:281src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]282 637 | return std::move(bitTestMatchExpression);283 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~284src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call285In file included from src/mongo/db/pipeline/expression_context.h:44,286 from src/mongo/db/matcher/extensions_callback.h:35,287 from src/mongo/db/matcher/extensions_callback_noop.h:32,288 from src/mongo/db/query/canonical_query.h:36,289 from src/mongo/db/query/plan_cache.h:36,290 from src/mongo/db/query/query_solution.h:40,291 from src/mongo/db/query/plan_executor.h:36,292 from src/mongo/db/clientcursor.h:40,293 from src/mongo/db/query/killcursors_request.h:36,294 from src/mongo/db/query/killcursors_request.cpp:34:295src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:296src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]297 90 | return std::move(pipeline);298 | ~~~~~~~~~^~~~~~~~~~299src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call300Compiling build/nixos/mongo/client/sasl_scram_client_conversation.o301In file included from src/mongo/db/pipeline/expression_context.h:44,302 from src/mongo/db/exec/plan_stage.h:37,303 from src/mongo/db/query/explain.h:32,304 from src/mongo/db/commands.h:47,305 from build/nixos/mongo/s/chunk_version_gen.cpp:16:306src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:307src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]308 90 | return std::move(pipeline);309 | ~~~~~~~~~^~~~~~~~~~310src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call311Compiling build/nixos/mongo/client/sasl_client_authenticate.o312In file included from src/mongo/db/matcher/expression_text_base.h:32,313 from src/mongo/db/matcher/extensions_callback.h:33,314 from src/mongo/db/matcher/extensions_callback_noop.h:32,315 from src/mongo/db/query/canonical_query.h:36,316 from src/mongo/db/query/explain.h:34,317 from src/mongo/db/commands.h:47,318 from build/nixos/mongo/s/chunk_version_gen.cpp:16:319src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:320src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]321 201 | return std::move(e);322 | ~~~~~~~~~^~~323src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call324src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:325src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]326 223 | return std::move(e);327 | ~~~~~~~~~^~~328src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call329src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:330src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]331 245 | return std::move(e);332 | ~~~~~~~~~^~~333src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call334src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:335src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]336 267 | return std::move(e);337 | ~~~~~~~~~^~~338src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call339src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:340src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]341 289 | return std::move(e);342 | ~~~~~~~~~^~~343src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call344src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:345src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]346 308 | return std::move(e);347 | ~~~~~~~~~^~~348src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call349src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:350src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]351 352 | return std::move(m);352 | ~~~~~~~~~^~~353src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call354src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:355src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]356 388 | return std::move(e);357 | ~~~~~~~~~^~~358src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call359src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:360src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]361 574 | return std::move(bitTestMatchExpression);362 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~363src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call364src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:365src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]366 595 | return std::move(bitTestMatchExpression);367 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~368src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call369src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:370src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]371 616 | return std::move(bitTestMatchExpression);372 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~373src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call374src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:375src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]376 637 | return std::move(bitTestMatchExpression);377 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~378src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call379In file included from src/mongo/db/matcher/expression_parser.h:38,380 from src/mongo/db/matcher/copyable_match_expression.h:32,381 from src/mongo/db/query/projection_ast.h:33,382 from src/mongo/db/query/projection.h:33,383 from src/mongo/db/query/canonical_query.h:38,384 from src/mongo/db/query/explain.h:34,385 from src/mongo/db/commands.h:47,386 from build/nixos/mongo/s/chunk_version_gen.cpp:16:387src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:388src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]389 126 | return std::move(self);390 | ~~~~~~~~~^~~~~~391src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call392src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:393src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]394 155 | return std::move(self);395 | ~~~~~~~~~^~~~~~396src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call397src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:398src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]399 184 | return std::move(self);400 | ~~~~~~~~~^~~~~~401src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call402src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:403src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]404 202 | return std::move(self);405 | ~~~~~~~~~^~~~~~406src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call407In file included from src/mongo/db/matcher/expression_parser.h:39,408 from src/mongo/db/matcher/copyable_match_expression.h:32,409 from src/mongo/db/query/projection_ast.h:33,410 from src/mongo/db/query/projection.h:33,411 from src/mongo/db/query/canonical_query.h:38,412 from src/mongo/db/query/explain.h:34,413 from src/mongo/db/commands.h:47,414 from build/nixos/mongo/s/chunk_version_gen.cpp:16:415src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:416src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]417 196 | return std::move(expr);418 | ~~~~~~~~~^~~~~~419src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call420In file included from src/mongo/db/matcher/expression_parser.h:38,421 from src/mongo/db/matcher/copyable_match_expression.h:32,422 from src/mongo/db/query/projection_ast.h:33,423 from src/mongo/db/query/projection.h:33,424 from src/mongo/db/query/canonical_query.h:38,425 from src/mongo/db/query/plan_cache.h:36,426 from src/mongo/db/query/query_solution.h:40,427 from src/mongo/db/query/plan_executor.h:36,428 from src/mongo/db/clientcursor.h:40,429 from src/mongo/db/query/killcursors_request.h:36,430 from src/mongo/db/query/killcursors_request.cpp:34:431src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:432src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]433 126 | return std::move(self);434 | ~~~~~~~~~^~~~~~435src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call436Generating build/nixos/mongo/client/sasl_aws_client_options_gen.cpp437src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:438src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]439 155 | return std::move(self);440 | ~~~~~~~~~^~~~~~441src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call442Compiling build/nixos/mongo/client/sasl_sspi.o443src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:444src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]445 184 | return std::move(self);446 | ~~~~~~~~~^~~~~~447src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call448src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:449src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]450 202 | return std::move(self);451 | ~~~~~~~~~^~~~~~452src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call453In file included from src/mongo/db/matcher/expression_parser.h:39,454 from src/mongo/db/matcher/copyable_match_expression.h:32,455 from src/mongo/db/query/projection_ast.h:33,456 from src/mongo/db/query/projection.h:33,457 from src/mongo/db/query/canonical_query.h:38,458 from src/mongo/db/query/plan_cache.h:36,459 from src/mongo/db/query/query_solution.h:40,460 from src/mongo/db/query/plan_executor.h:36,461 from src/mongo/db/clientcursor.h:40,462 from src/mongo/db/query/killcursors_request.h:36,463 from src/mongo/db/query/killcursors_request.cpp:34:464src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:465src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]466 196 | return std::move(expr);467 | ~~~~~~~~~^~~~~~468src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call469Compiling build/nixos/third_party/icu4c-57.1/source/i18n/tzrule.o470Compiling build/nixos/mongo/util/exit.o471Compiling build/nixos/mongo/util/executor_stats.o472Compiling build/nixos/mongo/client/sasl_aws_client_options_gen.o473Generating build/nixos/mongo/scripting/deadline_monitor_gen.cpp474Compiling build/nixos/mongo/scripting/deadline_monitor.o475In file included from src/mongo/db/pipeline/expression_context.h:44,476 from src/mongo/db/exec/plan_stage.h:37,477 from src/mongo/db/query/explain.h:32,478 from src/mongo/db/commands.h:47,479 from build/nixos/mongo/client/sasl_sspi_options_gen.cpp:16:480src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:481src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]482 90 | return std::move(pipeline);483 | ~~~~~~~~~^~~~~~~~~~484src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call485In file included from src/mongo/db/matcher/expression_text_base.h:32,486 from src/mongo/db/matcher/extensions_callback.h:33,487 from src/mongo/db/matcher/extensions_callback_noop.h:32,488 from src/mongo/db/query/canonical_query.h:36,489 from src/mongo/db/query/explain.h:34,490 from src/mongo/db/commands.h:47,491 from build/nixos/mongo/client/sasl_sspi_options_gen.cpp:16:492src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:493src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]494 201 | return std::move(e);495 | ~~~~~~~~~^~~496src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call497src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:498src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]499 223 | return std::move(e);500 | ~~~~~~~~~^~~501src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call502src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:503src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]504 245 | return std::move(e);505 | ~~~~~~~~~^~~506src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call507src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:508src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]509 267 | return std::move(e);510 | ~~~~~~~~~^~~511src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call512src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:513src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]514 289 | return std::move(e);515 | ~~~~~~~~~^~~516src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call517src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:518src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]519 308 | return std::move(e);520 | ~~~~~~~~~^~~521src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call522src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:523src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]524 352 | return std::move(m);525 | ~~~~~~~~~^~~526src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call527src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:528src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]529 388 | return std::move(e);530 | ~~~~~~~~~^~~531src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call532src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:533src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]534 574 | return std::move(bitTestMatchExpression);535 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~536src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call537src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:538src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]539 595 | return std::move(bitTestMatchExpression);540 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~541src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call542src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:543src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]544 616 | return std::move(bitTestMatchExpression);545 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~546src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call547src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:548src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]549 637 | return std::move(bitTestMatchExpression);550 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~551src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call552In file included from src/mongo/db/matcher/expression_parser.h:38,553 from src/mongo/db/matcher/copyable_match_expression.h:32,554 from src/mongo/db/query/projection_ast.h:33,555 from src/mongo/db/query/projection.h:33,556 from src/mongo/db/query/canonical_query.h:38,557 from src/mongo/db/query/explain.h:34,558 from src/mongo/db/commands.h:47,559 from build/nixos/mongo/client/sasl_sspi_options_gen.cpp:16:560src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:561src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]562 126 | return std::move(self);563 | ~~~~~~~~~^~~~~~564src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call565src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:566src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]567 155 | return std::move(self);568 | ~~~~~~~~~^~~~~~569src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call570src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:571src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]572 184 | return std::move(self);573 | ~~~~~~~~~^~~~~~574src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call575src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:576src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]577 202 | return std::move(self);578 | ~~~~~~~~~^~~~~~579src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call580In file included from src/mongo/db/matcher/expression_parser.h:39,581 from src/mongo/db/matcher/copyable_match_expression.h:32,582 from src/mongo/db/query/projection_ast.h:33,583 from src/mongo/db/query/projection.h:33,584 from src/mongo/db/query/canonical_query.h:38,585 from src/mongo/db/query/explain.h:34,586 from src/mongo/db/commands.h:47,587 from build/nixos/mongo/client/sasl_sspi_options_gen.cpp:16:588src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:589src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]590 196 | return std::move(expr);591 | ~~~~~~~~~^~~~~~592src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call593Compiling build/nixos/third_party/s2/s2polygonbuilder.o594In file included from src/mongo/db/pipeline/expression_context.h:44,595 from src/mongo/db/exec/plan_stage.h:37,596 from src/mongo/db/query/explain.h:32,597 from src/mongo/db/commands.h:47,598 from src/mongo/db/commands/server_status.h:32,599 from src/mongo/client/native_sasl_client_session.cpp:44:600src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:601src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]602 90 | return std::move(pipeline);603 | ~~~~~~~~~^~~~~~~~~~604src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call605In file included from src/mongo/db/matcher/expression_text_base.h:32,606 from src/mongo/db/matcher/extensions_callback.h:33,607 from src/mongo/db/matcher/extensions_callback_noop.h:32,608 from src/mongo/db/query/canonical_query.h:36,609 from src/mongo/db/query/explain.h:34,610 from src/mongo/db/commands.h:47,611 from src/mongo/db/commands/server_status.h:32,612 from src/mongo/client/native_sasl_client_session.cpp:44:613src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:614src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]615 201 | return std::move(e);616 | ~~~~~~~~~^~~617src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call618src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:619src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]620 223 | return std::move(e);621 | ~~~~~~~~~^~~622src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call623src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:624src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]625 245 | return std::move(e);626 | ~~~~~~~~~^~~627src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call628src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:629src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]630 267 | return std::move(e);631 | ~~~~~~~~~^~~632src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call633src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:634src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]635 289 | return std::move(e);636 | ~~~~~~~~~^~~637src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call638Compiling build/nixos/third_party/mozjs-60/extract/modules/fdlibm/s_nearbyint.o639Compiling build/nixos/mongo/scripting/bson_template_evaluator.o640Compiling build/nixos/third_party/icu4c-57.1/source/i18n/csdetect.o641src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:642src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]643 308 | return std::move(e);644 | ~~~~~~~~~^~~645src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call646src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:647src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]648 352 | return std::move(m);649 | ~~~~~~~~~^~~650src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call651src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:652src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]653 388 | return std::move(e);654 | ~~~~~~~~~^~~655src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call656src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:657src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]658 574 | return std::move(bitTestMatchExpression);659 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~660src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call661src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:662src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]663 595 | return std::move(bitTestMatchExpression);664 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~665src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call666src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:667src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]668 616 | return std::move(bitTestMatchExpression);669 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~670src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call671src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:672src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]673 637 | return std::move(bitTestMatchExpression);674 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~675src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call676In file included from src/mongo/db/matcher/expression_parser.h:38,677 from src/mongo/db/matcher/copyable_match_expression.h:32,678 from src/mongo/db/query/projection_ast.h:33,679 from src/mongo/db/query/projection.h:33,680 from src/mongo/db/query/canonical_query.h:38,681 from src/mongo/db/query/explain.h:34,682 from src/mongo/db/commands.h:47,683 from src/mongo/db/commands/server_status.h:32,684 from src/mongo/client/native_sasl_client_session.cpp:44:685src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:686src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]687 126 | return std::move(self);688 | ~~~~~~~~~^~~~~~689src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call690src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:691src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]692 155 | return std::move(self);693 | ~~~~~~~~~^~~~~~694src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call695src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:696src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]697 184 | return std::move(self);698 | ~~~~~~~~~^~~~~~699src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call700src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:701src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]702 202 | return std::move(self);703 | ~~~~~~~~~^~~~~~704src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call705In file included from src/mongo/db/matcher/expression_parser.h:39,706 from src/mongo/db/matcher/copyable_match_expression.h:32,707 from src/mongo/db/query/projection_ast.h:33,708 from src/mongo/db/query/projection.h:33,709 from src/mongo/db/query/canonical_query.h:38,710 from src/mongo/db/query/explain.h:34,711 from src/mongo/db/commands.h:47,712 from src/mongo/db/commands/server_status.h:32,713 from src/mongo/client/native_sasl_client_session.cpp:44:714src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:715src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]716 196 | return std::move(expr);717 | ~~~~~~~~~^~~~~~718src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call719Compiling build/nixos/mongo/scripting/mozjs/exception.o720In file included from src/mongo/db/pipeline/expression_context.h:44,721 from src/mongo/db/exec/plan_stage.h:37,722 from src/mongo/db/query/explain.h:32,723 from src/mongo/db/commands.h:47,724 from build/nixos/mongo/client/sasl_aws_client_options_gen.cpp:16:725src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:726src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]727 90 | return std::move(pipeline);728 | ~~~~~~~~~^~~~~~~~~~729src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call730Compiling build/nixos/third_party/mozjs-60/platform/aarch64/linux/build/Unified_cpp_js_src22.o731Compiling build/nixos/third_party/icu4c-57.1/source/i18n/curramt.o732Compiling build/nixos/third_party/icu4c-57.1/source/i18n/utmscale.o733Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o734Compiling build/nixos/third_party/mozjs-60/platform/aarch64/linux/build/Unified_cpp_js_src20.o735Compiling build/nixos/mongo/util/options_parser/value.o736src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:737src/mongo/db/matcher/expression_type.h:69:38: required from here738src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]739 74 | return std::move(expr);740 | ^741src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call742src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:743src/mongo/db/matcher/expression_type.h:69:38: required from here744src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]745src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call746src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:747src/mongo/db/matcher/expression_type.h:69:38: required from here748src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]749src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call750src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:751src/mongo/db/matcher/expression_type.h:69:38: required from here752src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]753 74 | return std::move(expr);754 | ^755src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call756src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:757src/mongo/db/matcher/expression_type.h:69:38: required from here758src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]759src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call760src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:761src/mongo/db/matcher/expression_type.h:69:38: required from here762src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]763src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call764In file included from src/mongo/db/matcher/expression_text_base.h:32,765 from src/mongo/db/matcher/extensions_callback.h:33,766 from src/mongo/db/matcher/extensions_callback_noop.h:32,767 from src/mongo/db/query/canonical_query.h:36,768 from src/mongo/db/query/explain.h:34,769 from src/mongo/db/commands.h:47,770 from build/nixos/mongo/client/sasl_aws_client_options_gen.cpp:16:771src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:772src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]773 201 | return std::move(e);774 | ~~~~~~~~~^~~775src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call776Compiling build/nixos/third_party/icu4c-57.1/source/i18n/unumsys.o777src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:778src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]779 223 | return std::move(e);780 | ~~~~~~~~~^~~781src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call782src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:783src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]784 245 | return std::move(e);785 | ~~~~~~~~~^~~786src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call787src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:788src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]789 267 | return std::move(e);790 | ~~~~~~~~~^~~791src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call792src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:793src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]794 289 | return std::move(e);795 | ~~~~~~~~~^~~796src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call797Compiling build/nixos/third_party/icu4c-57.1/source/common/ubidi_props.o798src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:799src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]800 308 | return std::move(e);801 | ~~~~~~~~~^~~802src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call803src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:804src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]805 352 | return std::move(m);806 | ~~~~~~~~~^~~807src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call808Compiling build/nixos/third_party/icu4c-57.1/source/common/rbbisetb.o809src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:810src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]811 388 | return std::move(e);812 | ~~~~~~~~~^~~813src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call814Compiling build/nixos/third_party/kms-message/src/kms_gcp_request.o815src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:816src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]817 574 | return std::move(bitTestMatchExpression);818 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~819src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call820src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:821src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]822 595 | return std::move(bitTestMatchExpression);823 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~824src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call825Compiling build/nixos/mongo/db/matcher/schema/expression_internal_schema_unique_items.o826src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:827src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]828 616 | return std::move(bitTestMatchExpression);829 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~830src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call831src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:832src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]833 637 | return std::move(bitTestMatchExpression);834 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~835src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call836In file included from src/mongo/db/matcher/expression_parser.h:38,837 from src/mongo/db/matcher/copyable_match_expression.h:32,838 from src/mongo/db/query/projection_ast.h:33,839 from src/mongo/db/query/projection.h:33,840 from src/mongo/db/query/canonical_query.h:38,841 from src/mongo/db/query/explain.h:34,842 from src/mongo/db/commands.h:47,843 from build/nixos/mongo/client/sasl_aws_client_options_gen.cpp:16:844src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:845src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]846 126 | return std::move(self);847 | ~~~~~~~~~^~~~~~848src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call849src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:850src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]851 155 | return std::move(self);852 | ~~~~~~~~~^~~~~~853src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call854src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:855src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]856 184 | return std::move(self);857 | ~~~~~~~~~^~~~~~858src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call859Generating build/nixos/mongo/scripting/mozjs/scripting_util_gen.cpp860src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:861src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]862 202 | return std::move(self);863 | ~~~~~~~~~^~~~~~864src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call865Compiling build/nixos/mongo/db/matcher/expression_expr.o866Compiling build/nixos/mongo/s/chunk_version.o867In file included from src/mongo/db/matcher/expression_parser.h:39,868 from src/mongo/db/matcher/copyable_match_expression.h:32,869 from src/mongo/db/query/projection_ast.h:33,870 from src/mongo/db/query/projection.h:33,871 from src/mongo/db/query/canonical_query.h:38,872 from src/mongo/db/query/explain.h:34,873 from src/mongo/db/commands.h:47,874 from build/nixos/mongo/client/sasl_aws_client_options_gen.cpp:16:875src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:876src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]877 196 | return std::move(expr);878 | ~~~~~~~~~^~~~~~879src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call880Compiling build/nixos/mongo/scripting/mozjs/session.o881Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o882Compiling build/nixos/third_party/icu4c-57.1/source/common/unistr_case.o883Generating build/nixos/mongo/s/query/async_results_merger_params_gen.cpp884Compiling build/nixos/third_party/icu4c-57.1/source/i18n/anytrans.o885Compiling build/nixos/third_party/icu4c-57.1/source/i18n/wintzimpl.o886Compiling build/nixos/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o887Compiling build/nixos/mongo/transport/message_compressor_metrics.o888Compiling build/nixos/mongo/db/exec/projection_executor_utils.o889Compiling build/nixos/mongo/transport/service_entry_point_utils.o890Compiling build/nixos/third_party/icu4c-57.1/source/i18n/nultrans.o891src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:892src/mongo/db/matcher/expression_type.h:69:38: required from here893src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]894 74 | return std::move(expr);895 | ^896src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call897Compiling build/nixos/mongo/scripting/mozjs/uri.o898src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:899src/mongo/db/matcher/expression_type.h:69:38: required from here900src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]901src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call902src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:903src/mongo/db/matcher/expression_type.h:69:38: required from here904src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]905src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call906Generating build/nixos/mongo/db/commands/test_commands_enabled_gen.cpp907Compiling build/nixos/mongo/db/commands/test_commands_enabled.o908src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:909src/mongo/db/matcher/expression_type.h:69:38: required from here910src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]911 74 | return std::move(expr);912 | ^913src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call914src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:915src/mongo/db/matcher/expression_type.h:69:38: required from here916src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]917src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call918src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:919src/mongo/db/matcher/expression_type.h:69:38: required from here920src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]921src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call922In file included from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:36,923 from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:32:924src/mongo/db/matcher/expression_array.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchObjectMatchExpression::shallowClone() const’:925src/mongo/db/matcher/expression_array.h:85:25: warning: redundant move in return statement [-Wredundant-move]926 85 | return std::move(e);927 | ~~~~~~~~~^~~928src/mongo/db/matcher/expression_array.h:85:25: note: remove ‘std::move’ call929src/mongo/db/matcher/expression_array.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ElemMatchValueMatchExpression::shallowClone() const’:930src/mongo/db/matcher/expression_array.h:140:25: warning: redundant move in return statement [-Wredundant-move]931 140 | return std::move(e);932 | ~~~~~~~~~^~~933src/mongo/db/matcher/expression_array.h:140:25: note: remove ‘std::move’ call934src/mongo/db/matcher/expression_array.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::SizeMatchExpression::shallowClone() const’:935src/mongo/db/matcher/expression_array.h:177:25: warning: redundant move in return statement [-Wredundant-move]936 177 | return std::move(e);937 | ~~~~~~~~~^~~938src/mongo/db/matcher/expression_array.h:177:25: note: remove ‘std::move’ call939src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaUniqueItemsMatchExpression::shallowClone() const’:940src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:73:21: warning: redundant move in return statement [-Wredundant-move]941 73 | return std::move(clone);942 | ~~~~~~~~~^~~~~~~943src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:73:21: note: remove ‘std::move’ call944In file included from src/mongo/db/matcher/expression_expr.h:36,945 from src/mongo/db/matcher/expression_expr.cpp:32:946src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:947src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]948 126 | return std::move(self);949 | ~~~~~~~~~^~~~~~950src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call951src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:952src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]953 155 | return std::move(self);954 | ~~~~~~~~~^~~~~~955src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call956Compiling build/nixos/mongo/db/commands/test_commands_enabled_gen.o957src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:958src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]959 184 | return std::move(self);960 | ~~~~~~~~~^~~~~~961src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call962src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:963src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]964 202 | return std::move(self);965 | ~~~~~~~~~^~~~~~966src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call967Compiling build/nixos/mongo/db/storage/storage_options.o968In file included from src/mongo/db/matcher/rewrite_expr.h:36,969 from src/mongo/db/matcher/expression_expr.h:37,970 from src/mongo/db/matcher/expression_expr.cpp:32:971src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:972src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]973 201 | return std::move(e);974 | ~~~~~~~~~^~~975src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call976src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:977src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]978 223 | return std::move(e);979 | ~~~~~~~~~^~~980src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call981src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:982src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]983 245 | return std::move(e);984 | ~~~~~~~~~^~~985src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call986src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:987src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]988 267 | return std::move(e);989 | ~~~~~~~~~^~~990src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call991src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:992src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]993 289 | return std::move(e);994 | ~~~~~~~~~^~~995src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call996src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:997src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]998 308 | return std::move(e);999 | ~~~~~~~~~^~~1000src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1001src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1002src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1003 352 | return std::move(m);1004 | ~~~~~~~~~^~~1005src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1006src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1007src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1008 388 | return std::move(e);1009 | ~~~~~~~~~^~~1010src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1011src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1012src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1013 574 | return std::move(bitTestMatchExpression);1014 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1015src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1016src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1017src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1018 595 | return std::move(bitTestMatchExpression);1019 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1020src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1021src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1022src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1023 616 | return std::move(bitTestMatchExpression);1024 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1025src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1026src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1027src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1028 637 | return std::move(bitTestMatchExpression);1029 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1030src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1031In file included from src/mongo/db/pipeline/expression_context.h:44,1032 from src/mongo/db/pipeline/expression.h:47,1033 from src/mongo/db/matcher/rewrite_expr.h:38,1034 from src/mongo/db/matcher/expression_expr.h:37,1035 from src/mongo/db/matcher/expression_expr.cpp:32:1036src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1037src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1038 90 | return std::move(pipeline);1039 | ~~~~~~~~~^~~~~~~~~~1040src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1041Generating library build/nixos/mongo/scripting/libbson_template_evaluator.a1042Skipping ranlib for thin archive build/nixos/mongo/scripting/libbson_template_evaluator.a1043Compiling build/nixos/third_party/shim_intel_decimal128.o1044Generating library build/nixos/third_party/libshim_intel_decimal128.a1045Skipping ranlib for thin archive build/nixos/third_party/libshim_intel_decimal128.a1046Generating build/nixos/mongo/transport/transport_options_gen.cpp1047Compiling build/nixos/mongo/shell/linenoise_utf8.o1048Compiling build/nixos/mongo/transport/transport_layer_asio.o1049Compiling build/nixos/third_party/s2/util/math/mathutil.o1050Compiling build/nixos/mongo/db/matcher/match_details.o1051src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:1052src/mongo/db/matcher/expression_type.h:69:38: required from here1053src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1054 74 | return std::move(expr);1055 | ^1056src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1057src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:1058src/mongo/db/matcher/expression_type.h:69:38: required from here1059src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1060src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1061Generating build/nixos/mongo/s/catalog/type_chunk_base_gen.cpp1062src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:1063src/mongo/db/matcher/expression_type.h:69:38: required from here1064src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1065src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1066Compiling build/nixos/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.o1067In file included from src/mongo/db/pipeline/expression_context.h:44,1068 from src/mongo/db/exec/projection_executor.h:38,1069 from src/mongo/db/exec/projection_executor_utils.cpp:30:1070src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1071src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1072 90 | return std::move(pipeline);1073 | ~~~~~~~~~^~~~~~~~~~1074src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1075Generating build/nixos/mongo/rpc/topology_version_gen.cpp1076Compiling build/nixos/mongo/s/catalog/type_chunk.o1077Generating build/nixos/mongo/db/repl/repl_settings_gen.cpp1078Generating build/nixos/mongo/db/repl/repl_set_config_gen.cpp1079Compiling build/nixos/mongo/db/logical_session_id_gen.o1080Compiling build/nixos/mongo/db/storage/write_unit_of_work.o1081Compiling build/nixos/mongo/db/catalog/collection_catalog.o1082src/mongo/db/matcher/expression_expr.cpp: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExprMatchExpression::shallowClone() const’:1083src/mongo/db/matcher/expression_expr.cpp:118:21: warning: redundant move in return statement [-Wredundant-move]1084 118 | return std::move(clone);1085 | ~~~~~~~~~^~~~~~~1086src/mongo/db/matcher/expression_expr.cpp:118:21: note: remove ‘std::move’ call1087Generating library build/nixos/third_party/s2/util/math/libmath.a1088Skipping ranlib for thin archive build/nixos/third_party/s2/util/math/libmath.a1089Compiling build/nixos/mongo/db/pipeline/expression.o1090In file included from src/mongo/db/matcher/expression_text_base.h:32,1091 from src/mongo/db/matcher/extensions_callback.h:33,1092 from src/mongo/db/matcher/extensions_callback_noop.h:32,1093 from src/mongo/db/query/canonical_query.h:36,1094 from src/mongo/db/query/explain.h:34,1095 from src/mongo/db/commands.h:47,1096 from src/mongo/db/pipeline/document_source.h:45,1097 from src/mongo/db/pipeline/transformer_interface.h:34,1098 from src/mongo/db/exec/projection_executor.h:40,1099 from src/mongo/db/exec/projection_executor_utils.cpp:30:1100src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:1101src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]1102 201 | return std::move(e);1103 | ~~~~~~~~~^~~1104src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call1105src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:1106src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]1107 223 | return std::move(e);1108 | ~~~~~~~~~^~~1109src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call1110src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:1111src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]1112 245 | return std::move(e);1113 | ~~~~~~~~~^~~1114src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call1115src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:1116src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]1117 267 | return std::move(e);1118 | ~~~~~~~~~^~~1119src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call1120src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:1121src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]1122 289 | return std::move(e);1123 | ~~~~~~~~~^~~1124src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call1125src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:1126src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]1127 308 | return std::move(e);1128 | ~~~~~~~~~^~~1129src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1130src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1131src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1132 352 | return std::move(m);1133 | ~~~~~~~~~^~~1134src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1135Compiling build/nixos/mongo/s/request_types/commit_chunk_migration_request_type.o1136src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1137src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1138 388 | return std::move(e);1139 | ~~~~~~~~~^~~1140src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1141src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1142src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1143 574 | return std::move(bitTestMatchExpression);1144 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1145src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1146src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1147src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1148 595 | return std::move(bitTestMatchExpression);1149 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1150src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1151src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1152src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1153 616 | return std::move(bitTestMatchExpression);1154 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1155src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1156src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1157src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1158 637 | return std::move(bitTestMatchExpression);1159 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1160src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1161In file included from src/mongo/db/matcher/expression_parser.h:38,1162 from src/mongo/db/matcher/copyable_match_expression.h:32,1163 from src/mongo/db/query/projection_ast.h:33,1164 from src/mongo/db/query/projection.h:33,1165 from src/mongo/db/query/canonical_query.h:38,1166 from src/mongo/db/query/explain.h:34,1167 from src/mongo/db/commands.h:47,1168 from src/mongo/db/pipeline/document_source.h:45,1169 from src/mongo/db/pipeline/transformer_interface.h:34,1170 from src/mongo/db/exec/projection_executor.h:40,1171 from src/mongo/db/exec/projection_executor_utils.cpp:30:1172src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:1173src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]1174 126 | return std::move(self);1175 | ~~~~~~~~~^~~~~~1176src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call1177src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:1178src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]1179 155 | return std::move(self);1180 | ~~~~~~~~~^~~~~~1181src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call1182src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:1183src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]1184 184 | return std::move(self);1185 | ~~~~~~~~~^~~~~~1186src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call1187src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:1188src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]1189 202 | return std::move(self);1190 | ~~~~~~~~~^~~~~~1191src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call1192In file included from src/mongo/db/matcher/expression_parser.h:39,1193 from src/mongo/db/matcher/copyable_match_expression.h:32,1194 from src/mongo/db/query/projection_ast.h:33,1195 from src/mongo/db/query/projection.h:33,1196 from src/mongo/db/query/canonical_query.h:38,1197 from src/mongo/db/query/explain.h:34,1198 from src/mongo/db/commands.h:47,1199 from src/mongo/db/pipeline/document_source.h:45,1200 from src/mongo/db/pipeline/transformer_interface.h:34,1201 from src/mongo/db/exec/projection_executor.h:40,1202 from src/mongo/db/exec/projection_executor_utils.cpp:30:1203src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:1204src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]1205 196 | return std::move(expr);1206 | ~~~~~~~~~^~~~~~1207src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call1208In file included from src/mongo/db/pipeline/expression_context.h:44,1209 from src/mongo/db/exec/plan_stage.h:37,1210 from src/mongo/db/query/explain.h:32,1211 from src/mongo/db/commands.h:47,1212 from build/nixos/mongo/db/commands/test_commands_enabled_gen.cpp:16:1213src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1214src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1215 90 | return std::move(pipeline);1216 | ~~~~~~~~~^~~~~~~~~~1217src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1218In file included from src/mongo/db/matcher/expression_text_base.h:32,1219 from src/mongo/db/matcher/extensions_callback.h:33,1220 from src/mongo/db/matcher/extensions_callback_noop.h:32,1221 from src/mongo/db/query/canonical_query.h:36,1222 from src/mongo/db/query/plan_cache.h:36,1223 from src/mongo/db/query/query_solution.h:40,1224 from src/mongo/db/query/plan_executor.h:36,1225 from src/mongo/db/catalog/collection.h:48,1226 from src/mongo/db/catalog/collection_catalog.h:36,1227 from src/mongo/db/catalog/collection_catalog.cpp:33:1228src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:1229src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]1230 201 | return std::move(e);1231 | ~~~~~~~~~^~~1232src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call1233src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:1234src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]1235 223 | return std::move(e);1236 | ~~~~~~~~~^~~1237src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call1238src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:1239src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]1240 245 | return std::move(e);1241 | ~~~~~~~~~^~~1242src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call1243src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:1244src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]1245 267 | return std::move(e);1246 | ~~~~~~~~~^~~1247src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call1248src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:1249src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]1250 289 | return std::move(e);1251 | ~~~~~~~~~^~~1252src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call1253src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:1254src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]1255 308 | return std::move(e);1256 | ~~~~~~~~~^~~1257src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1258src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1259src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1260 352 | return std::move(m);1261 | ~~~~~~~~~^~~1262src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1263src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1264src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1265 388 | return std::move(e);1266 | ~~~~~~~~~^~~1267src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1268src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1269src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1270 574 | return std::move(bitTestMatchExpression);1271 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1272src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1273src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1274src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1275 595 | return std::move(bitTestMatchExpression);1276 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1277src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1278src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1279src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1280 616 | return std::move(bitTestMatchExpression);1281 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1282src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1283src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1284src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1285 637 | return std::move(bitTestMatchExpression);1286 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1287src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1288In file included from src/mongo/db/pipeline/expression_context.h:44,1289 from src/mongo/db/matcher/extensions_callback.h:35,1290 from src/mongo/db/matcher/extensions_callback_noop.h:32,1291 from src/mongo/db/query/canonical_query.h:36,1292 from src/mongo/db/query/plan_cache.h:36,1293 from src/mongo/db/query/query_solution.h:40,1294 from src/mongo/db/query/plan_executor.h:36,1295 from src/mongo/db/catalog/collection.h:48,1296 from src/mongo/db/catalog/collection_catalog.h:36,1297 from src/mongo/db/catalog/collection_catalog.cpp:33:1298src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1299src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1300 90 | return std::move(pipeline);1301 | ~~~~~~~~~^~~~~~~~~~1302src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1303In file included from src/third_party/mozjs-60/extract/js/src/jit/arm64/BaselineIC-arm64.cpp:16,1304 from src/third_party/mozjs-60/platform/aarch64/linux/build/Unified_cpp_js_src22.cpp:47:1305src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeDouble(js::jit::FloatRegister, const T&) [with T = js::jit::Address]’:1306src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:748:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11307 748 | MacroAssembler::storeDouble(FloatRegister src, const T& dest)1308 | ^~~~~~~~~~~~~~1309src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeDouble(js::jit::FloatRegister, const T&) [with T = js::jit::BaseIndex]’:1310src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:748:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11311src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeFloat32(js::jit::FloatRegister, const T&) [with T = js::jit::Address]’:1312src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:764:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11313 764 | MacroAssembler::storeFloat32(FloatRegister src, const T& dest)1314 | ^~~~~~~~~~~~~~1315src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeFloat32(js::jit::FloatRegister, const T&) [with T = js::jit::BaseIndex]’:1316src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:764:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11317In file included from src/mongo/db/matcher/expression_text_base.h:32,1318 from src/mongo/db/matcher/extensions_callback.h:33,1319 from src/mongo/db/matcher/extensions_callback_noop.h:32,1320 from src/mongo/db/query/canonical_query.h:36,1321 from src/mongo/db/query/plan_cache.h:36,1322 from src/mongo/db/query/query_solution.h:40,1323 from src/mongo/db/query/plan_executor.h:36,1324 from src/mongo/db/catalog/collection.h:48,1325 from src/mongo/db/catalog/uncommitted_collections.h:37,1326 from src/mongo/db/storage/write_unit_of_work.cpp:36:1327src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:1328src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]1329 201 | return std::move(e);1330 | ~~~~~~~~~^~~1331src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call1332src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:1333src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]1334 223 | return std::move(e);1335 | ~~~~~~~~~^~~1336src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call1337src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:1338src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]1339 245 | return std::move(e);1340 | ~~~~~~~~~^~~1341src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call1342src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:1343src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]1344 267 | return std::move(e);1345 | ~~~~~~~~~^~~1346src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call1347In file included from src/mongo/db/matcher/expression_text_base.h:32,1348 from src/mongo/db/matcher/extensions_callback.h:33,1349 from src/mongo/db/matcher/extensions_callback_noop.h:32,1350 from src/mongo/db/query/canonical_query.h:36,1351 from src/mongo/db/query/explain.h:34,1352 from src/mongo/db/commands.h:47,1353 from build/nixos/mongo/db/commands/test_commands_enabled_gen.cpp:16:1354src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:1355src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]1356 201 | return std::move(e);1357 | ~~~~~~~~~^~~1358src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call1359src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:1360src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]1361 223 | return std::move(e);1362 | ~~~~~~~~~^~~1363src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call1364src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:1365src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]1366 289 | return std::move(e);1367 | ~~~~~~~~~^~~1368src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call1369src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:1370src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]1371 245 | return std::move(e);1372 | ~~~~~~~~~^~~1373src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call1374src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:1375src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]1376 267 | return std::move(e);1377 | ~~~~~~~~~^~~1378src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call1379src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:1380src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]1381 308 | return std::move(e);1382 | ~~~~~~~~~^~~1383src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1384src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1385src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1386 352 | return std::move(m);1387 | ~~~~~~~~~^~~1388src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1389src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1390src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1391 388 | return std::move(e);1392 | ~~~~~~~~~^~~1393src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1394src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:1395src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]1396 289 | return std::move(e);1397 | ~~~~~~~~~^~~1398src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call1399src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1400src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1401 574 | return std::move(bitTestMatchExpression);1402 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1403src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1404In file included from src/mongo/db/pipeline/expression_context.h:44,1405 from src/mongo/db/exec/plan_stage.h:37,1406 from src/mongo/db/query/explain.h:32,1407 from src/mongo/db/commands.h:47,1408 from build/nixos/mongo/db/logical_session_id_gen.cpp:16:1409src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1410src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1411 90 | return std::move(pipeline);1412 | ~~~~~~~~~^~~~~~~~~~1413src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1414src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1415src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1416 595 | return std::move(bitTestMatchExpression);1417 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1418src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1419src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:1420src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]1421 308 | return std::move(e);1422 | ~~~~~~~~~^~~1423src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1424src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1425src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1426 616 | return std::move(bitTestMatchExpression);1427 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1428src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1429src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1430src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1431 637 | return std::move(bitTestMatchExpression);1432 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1433src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1434In file included from src/mongo/db/pipeline/expression_context.h:44,1435 from src/mongo/db/matcher/extensions_callback.h:35,1436 from src/mongo/db/matcher/extensions_callback_noop.h:32,1437 from src/mongo/db/query/canonical_query.h:36,1438 from src/mongo/db/query/plan_cache.h:36,1439 from src/mongo/db/query/query_solution.h:40,1440 from src/mongo/db/query/plan_executor.h:36,1441 from src/mongo/db/catalog/collection.h:48,1442 from src/mongo/db/catalog/uncommitted_collections.h:37,1443 from src/mongo/db/storage/write_unit_of_work.cpp:36:1444src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1445src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1446 90 | return std::move(pipeline);1447 | ~~~~~~~~~^~~~~~~~~~1448src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1449src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1450src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1451 352 | return std::move(m);1452 | ~~~~~~~~~^~~1453src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1454src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1455src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1456 388 | return std::move(e);1457 | ~~~~~~~~~^~~1458src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1459src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1460src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1461 574 | return std::move(bitTestMatchExpression);1462 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1463src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1464src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1465src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1466 595 | return std::move(bitTestMatchExpression);1467 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1468src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1469src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1470src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1471 616 | return std::move(bitTestMatchExpression);1472 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1473src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1474src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1475src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1476 637 | return std::move(bitTestMatchExpression);1477 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1478src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1479In file included from src/mongo/db/matcher/expression_parser.h:38,1480 from src/mongo/db/matcher/copyable_match_expression.h:32,1481 from src/mongo/db/query/projection_ast.h:33,1482 from src/mongo/db/query/projection.h:33,1483 from src/mongo/db/query/canonical_query.h:38,1484 from src/mongo/db/query/explain.h:34,1485 from src/mongo/db/commands.h:47,1486 from build/nixos/mongo/db/commands/test_commands_enabled_gen.cpp:16:1487src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:1488src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]1489 126 | return std::move(self);1490 | ~~~~~~~~~^~~~~~1491src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call1492src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:1493src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]1494 155 | return std::move(self);1495 | ~~~~~~~~~^~~~~~1496src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call1497src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:1498src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]1499 184 | return std::move(self);1500 | ~~~~~~~~~^~~~~~1501src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call1502src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:1503src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]1504 202 | return std::move(self);1505 | ~~~~~~~~~^~~~~~1506src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call1507In file included from src/mongo/db/matcher/expression_parser.h:39,1508 from src/mongo/db/matcher/copyable_match_expression.h:32,1509 from src/mongo/db/query/projection_ast.h:33,1510 from src/mongo/db/query/projection.h:33,1511 from src/mongo/db/query/canonical_query.h:38,1512 from src/mongo/db/query/explain.h:34,1513 from src/mongo/db/commands.h:47,1514 from build/nixos/mongo/db/commands/test_commands_enabled_gen.cpp:16:1515src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:1516src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]1517 196 | return std::move(expr);1518 | ~~~~~~~~~^~~~~~1519src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call1520Compiling build/nixos/third_party/icu4c-57.1/source/common/unifiedcache.o1521In file included from src/mongo/db/matcher/expression_text_base.h:32,1522 from src/mongo/db/matcher/extensions_callback.h:33,1523 from src/mongo/db/matcher/extensions_callback_noop.h:32,1524 from src/mongo/db/query/canonical_query.h:36,1525 from src/mongo/db/query/explain.h:34,1526 from src/mongo/db/commands.h:47,1527 from build/nixos/mongo/db/logical_session_id_gen.cpp:16:1528src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:1529src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]1530 201 | return std::move(e);1531 | ~~~~~~~~~^~~1532src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call1533src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:1534src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]1535 223 | return std::move(e);1536 | ~~~~~~~~~^~~1537src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call1538src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:1539src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]1540 245 | return std::move(e);1541 | ~~~~~~~~~^~~1542src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call1543src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:1544src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]1545 267 | return std::move(e);1546 | ~~~~~~~~~^~~1547src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call1548src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:1549src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]1550 289 | return std::move(e);1551 | ~~~~~~~~~^~~1552src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call1553src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:1554src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]1555 308 | return std::move(e);1556 | ~~~~~~~~~^~~1557src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call1558In file included from src/mongo/db/matcher/expression_parser.h:38,1559 from src/mongo/db/matcher/copyable_match_expression.h:32,1560 from src/mongo/db/query/projection_ast.h:33,1561 from src/mongo/db/query/projection.h:33,1562 from src/mongo/db/query/canonical_query.h:38,1563 from src/mongo/db/query/plan_cache.h:36,1564 from src/mongo/db/query/query_solution.h:40,1565 from src/mongo/db/query/plan_executor.h:36,1566 from src/mongo/db/catalog/collection.h:48,1567 from src/mongo/db/catalog/collection_catalog.h:36,1568 from src/mongo/db/catalog/collection_catalog.cpp:33:1569src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:1570src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]1571 126 | return std::move(self);1572 | ~~~~~~~~~^~~~~~1573src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call1574src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:1575src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]1576 155 | return std::move(self);1577 | ~~~~~~~~~^~~~~~1578src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call1579src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:1580src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]1581 184 | return std::move(self);1582 | ~~~~~~~~~^~~~~~1583src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call1584src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:1585src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]1586 202 | return std::move(self);1587 | ~~~~~~~~~^~~~~~1588src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call1589In file included from src/mongo/db/matcher/expression_parser.h:39,1590 from src/mongo/db/matcher/copyable_match_expression.h:32,1591 from src/mongo/db/query/projection_ast.h:33,1592 from src/mongo/db/query/projection.h:33,1593 from src/mongo/db/query/canonical_query.h:38,1594 from src/mongo/db/query/plan_cache.h:36,1595 from src/mongo/db/query/query_solution.h:40,1596 from src/mongo/db/query/plan_executor.h:36,1597 from src/mongo/db/catalog/collection.h:48,1598 from src/mongo/db/catalog/collection_catalog.h:36,1599 from src/mongo/db/catalog/collection_catalog.cpp:33:1600src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:1601src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]1602 196 | return std::move(expr);1603 | ~~~~~~~~~^~~~~~1604src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call1605src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:1606src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]1607 352 | return std::move(m);1608 | ~~~~~~~~~^~~1609src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call1610src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:1611src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]1612 388 | return std::move(e);1613 | ~~~~~~~~~^~~1614src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call1615src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:1616src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]1617 574 | return std::move(bitTestMatchExpression);1618 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1619src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call1620src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:1621src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]1622 595 | return std::move(bitTestMatchExpression);1623 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1624src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call1625src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:1626src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]1627 616 | return std::move(bitTestMatchExpression);1628 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1629src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call1630src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:1631src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]1632 637 | return std::move(bitTestMatchExpression);1633 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~1634src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call1635Compiling build/nixos/third_party/icu4c-57.1/source/common/ustrtrns.o1636In file included from src/mongo/db/matcher/expression_parser.h:38,1637 from src/mongo/db/matcher/copyable_match_expression.h:32,1638 from src/mongo/db/query/projection_ast.h:33,1639 from src/mongo/db/query/projection.h:33,1640 from src/mongo/db/query/canonical_query.h:38,1641 from src/mongo/db/query/explain.h:34,1642 from src/mongo/db/commands.h:47,1643 from build/nixos/mongo/db/logical_session_id_gen.cpp:16:1644src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:1645src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]1646 126 | return std::move(self);1647 | ~~~~~~~~~^~~~~~1648src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call1649src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:1650src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]1651 155 | return std::move(self);1652 | ~~~~~~~~~^~~~~~1653src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call1654src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:1655src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]1656 184 | return std::move(self);1657 | ~~~~~~~~~^~~~~~1658src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call1659src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:1660src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]1661 202 | return std::move(self);1662 | ~~~~~~~~~^~~~~~1663src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call1664In file included from src/mongo/db/matcher/expression_parser.h:39,1665 from src/mongo/db/matcher/copyable_match_expression.h:32,1666 from src/mongo/db/query/projection_ast.h:33,1667 from src/mongo/db/query/projection.h:33,1668 from src/mongo/db/query/canonical_query.h:38,1669 from src/mongo/db/query/explain.h:34,1670 from src/mongo/db/commands.h:47,1671 from build/nixos/mongo/db/logical_session_id_gen.cpp:16:1672src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:1673src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]1674 196 | return std::move(expr);1675 | ~~~~~~~~~^~~~~~1676src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call1677Generating library build/nixos/mongo/client/libsasl_client.a1678Skipping ranlib for thin archive build/nixos/mongo/client/libsasl_client.a1679Compiling build/nixos/mongo/util/cmdline_utils/censor_cmdline.o1680Compiling build/nixos/third_party/mozjs-60/extract/mozglue/misc/Printf.o1681Compiling build/nixos/mongo/db/matcher/expression_where_base.o1682Compiling build/nixos/mongo/db/exec/document_value/value.o1683Compiling build/nixos/mongo/db/exec/document_value/document_metadata_fields.o1684Compiling build/nixos/mongo/db/exec/document_value/value_comparator.o1685In file included from src/mongo/db/matcher/expression_parser.h:38,1686 from src/mongo/db/matcher/copyable_match_expression.h:32,1687 from src/mongo/db/query/projection_ast.h:33,1688 from src/mongo/db/query/projection.h:33,1689 from src/mongo/db/query/canonical_query.h:38,1690 from src/mongo/db/query/plan_cache.h:36,1691 from src/mongo/db/query/query_solution.h:40,1692 from src/mongo/db/query/plan_executor.h:36,1693 from src/mongo/db/catalog/collection.h:48,1694 from src/mongo/db/catalog/uncommitted_collections.h:37,1695 from src/mongo/db/storage/write_unit_of_work.cpp:36:1696src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:1697src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]1698 126 | return std::move(self);1699 | ~~~~~~~~~^~~~~~1700src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call1701src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:1702src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]1703 155 | return std::move(self);1704 | ~~~~~~~~~^~~~~~1705src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call1706src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:1707src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]1708 184 | return std::move(self);1709 | ~~~~~~~~~^~~~~~1710src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call1711src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:1712src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]1713 202 | return std::move(self);1714 | ~~~~~~~~~^~~~~~1715src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call1716In file included from src/mongo/db/matcher/expression_parser.h:39,1717 from src/mongo/db/matcher/copyable_match_expression.h:32,1718 from src/mongo/db/query/projection_ast.h:33,1719 from src/mongo/db/query/projection.h:33,1720 from src/mongo/db/query/canonical_query.h:38,1721 from src/mongo/db/query/plan_cache.h:36,1722 from src/mongo/db/query/query_solution.h:40,1723 from src/mongo/db/query/plan_executor.h:36,1724 from src/mongo/db/catalog/collection.h:48,1725 from src/mongo/db/catalog/uncommitted_collections.h:37,1726 from src/mongo/db/storage/write_unit_of_work.cpp:36:1727src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:1728src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]1729 196 | return std::move(expr);1730 | ~~~~~~~~~^~~~~~1731src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call1732In file included from src/mongo/db/pipeline/expression_context.h:44,1733 from src/mongo/db/pipeline/expression.h:47,1734 from src/mongo/db/pipeline/expression.cpp:33:1735src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:1736src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]1737 90 | return std::move(pipeline);1738 | ~~~~~~~~~^~~~~~~~~~1739src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call1740Compiling build/nixos/mongo/db/exec/document_value/document_comparator.o1741Compiling build/nixos/mongo/db/exec/document_value/document.o1742src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:1743src/mongo/db/matcher/expression_type.h:69:38: required from here1744src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1745 74 | return std::move(expr);1746 | ^1747src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1748src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:1749src/mongo/db/matcher/expression_type.h:69:38: required from here1750src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1751src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1752src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:1753src/mongo/db/matcher/expression_type.h:69:38: required from here1754src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1755src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1756In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:21,1757 from src/third_party/mozjs-60/extract/js/src/jit/SharedIC.cpp:30,1758 from src/third_party/mozjs-60/platform/aarch64/linux/build/Unified_cpp_js_src20.cpp:47:1759src/third_party/mozjs-60/extract/js/src/jit/arm64/MacroAssembler-arm64-inl.h: In member function ‘void js::jit::MacroAssemblerCompat::ensureDouble(const js::jit::ValueOperand&, js::jit::FloatRegister, js::jit::Label*)’:1760src/third_party/mozjs-60/extract/js/src/jit/arm64/MacroAssembler-arm64-inl.h:2142:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11761 2142 | MacroAssemblerCompat::ensureDouble(const ValueOperand& source, FloatRegister dest, Label* failure)1762 | ^~~~~~~~~~~~~~~~~~~~1763In file included from src/third_party/mozjs-60/extract/js/src/jit/SharedIC.cpp:30,1764 from src/third_party/mozjs-60/platform/aarch64/linux/build/Unified_cpp_js_src20.cpp:47:1765src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeDouble(js::jit::FloatRegister, const T&) [with T = js::jit::Address]’:1766src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:748:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11767 748 | MacroAssembler::storeDouble(FloatRegister src, const T& dest)1768 | ^~~~~~~~~~~~~~1769src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeDouble(js::jit::FloatRegister, const T&) [with T = js::jit::BaseIndex]’:1770src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:748:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11771src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeFloat32(js::jit::FloatRegister, const T&) [with T = js::jit::Address]’:1772src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:764:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11773 764 | MacroAssembler::storeFloat32(FloatRegister src, const T& dest)1774 | ^~~~~~~~~~~~~~1775src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h: In member function ‘void js::jit::MacroAssembler::storeFloat32(js::jit::FloatRegister, const T&) [with T = js::jit::BaseIndex]’:1776src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler-inl.h:764:1: note: parameter passing for argument of type ‘js::jit::FloatRegister’ changed in GCC 9.11777src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:1778src/mongo/db/matcher/expression_type.h:69:38: required from here1779src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1780 74 | return std::move(expr);1781 | ^1782src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1783src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:1784src/mongo/db/matcher/expression_type.h:69:38: required from here1785src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1786src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1787src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:1788src/mongo/db/matcher/expression_type.h:69:38: required from here1789src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]1790src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call1791Compiling build/nixos/third_party/icu4c-57.1/source/common/rbbistbl.o1792Compiling build/nixos/mongo/util/errno_util.o1793In file included from src/mongo/db/pipeline/expression.cpp:33:1794src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArray]’:1795src/mongo/db/pipeline/expression.cpp:195:33: required from here1796src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1797 350 | return std::move(expr);1798 | ^1799src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1800src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAbs]’:1801src/mongo/db/pipeline/expression.cpp:269:1: required from here1802src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1803src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1804src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAdd]’:1805src/mongo/db/pipeline/expression.cpp:351:1: required from here1806src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1807src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1808src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAllElementsTrue]’:1809src/mongo/db/pipeline/expression.cpp:373:1: required from here1810src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1811src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1812src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAnd]’:1813src/mongo/db/pipeline/expression.cpp:447:1: required from here1814src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1815src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1816src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionAnyElementTrue]’:1817src/mongo/db/pipeline/expression.cpp:469:1: required from here1818src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1819src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1820src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArrayElemAt]’:1821src/mongo/db/pipeline/expression.cpp:560:1: required from here1822src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1823src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1824src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFirst]’:1825src/mongo/db/pipeline/expression.cpp:572:1: required from here1826src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1827src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1828src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLast]’:1829src/mongo/db/pipeline/expression.cpp:587:1: required from here1830src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1831src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1832src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionObjectToArray]’:1833src/mongo/db/pipeline/expression.cpp:623:1: required from here1834src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1835src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1836src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionArrayToObject]’:1837src/mongo/db/pipeline/expression.cpp:734:1: required from here1838src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1839src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1840src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionBsonSize]’:1841src/mongo/db/pipeline/expression.cpp:741:1: required from here1842src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1843src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1844src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionCeil]’:1845src/mongo/db/pipeline/expression.cpp:775:1: required from here1846src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1847src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1848src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionConcat]’:1849src/mongo/db/pipeline/expression.cpp:936:1: required from here1850src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1851src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1852src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionConcatArrays]’:1853src/mongo/db/pipeline/expression.cpp:964:1: required from here1854src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1855src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1856src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionCond]’:1857src/mongo/db/pipeline/expression.cpp:982:22: required from here1858src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1859src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1860src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionDivide]’:1861src/mongo/db/pipeline/expression.cpp:1940:1: required from here1862src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1863src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1864src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionExp]’:1865src/mongo/db/pipeline/expression.cpp:1955:1: required from here1866src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1867src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1868src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionFloor]’:1869src/mongo/db/pipeline/expression.cpp:2378:1: required from here1870src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1871src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1872src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionMod]’:1873src/mongo/db/pipeline/expression.cpp:2831:1: required from here1874src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1875src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1876src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionMultiply]’:1877src/mongo/db/pipeline/expression.cpp:2901:1: required from here1878src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1879src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1880src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIfNull]’:1881src/mongo/db/pipeline/expression.cpp:2917:1: required from here1882src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1883src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1884src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIn]’:1885src/mongo/db/pipeline/expression.cpp:2940:1: required from here1886src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1887src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1888src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfArray]’:1889src/mongo/db/pipeline/expression.cpp:3089:1: required from here1890src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1891src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1892src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfBytes]’:1893src/mongo/db/pipeline/expression.cpp:3154:1: required from here1894src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1895src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1896src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIndexOfCP]’:1897src/mongo/db/pipeline/expression.cpp:3241:1: required from here1898src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1899src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1900src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLn]’:1901src/mongo/db/pipeline/expression.cpp:3262:1: required from here1902src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1903src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1904src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLog]’:1905src/mongo/db/pipeline/expression.cpp:3306:1: required from here1906src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1907src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1908src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionLog10]’:1909src/mongo/db/pipeline/expression.cpp:3328:1: required from here1910src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1911src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1912src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionNot]’:1913src/mongo/db/pipeline/expression.cpp:3465:1: required from here1914src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1915src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1916src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionOr]’:1917src/mongo/db/pipeline/expression.cpp:3535:1: required from here1918src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1919src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1920src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionPow]’:1921src/mongo/db/pipeline/expression.cpp:3756:1: required from here1922src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1923src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1924Compiling build/nixos/third_party/zstandard-1.4.3/zstd/lib/compress/zstd_compress_literals.o1925src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionRange]’:1926src/mongo/db/pipeline/expression.cpp:3832:1: required from here1927src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1928src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1929src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionReverseArray]’:1930src/mongo/db/pipeline/expression.cpp:4119:1: required from here1931src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1932src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1933src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetDifference]’:1934src/mongo/db/pipeline/expression.cpp:4173:1: required from here1935src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1936src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1937src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetEquals]’:1938src/mongo/db/pipeline/expression.cpp:4215:1: required from here1939src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1940src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1941src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetIntersection]’:1942src/mongo/db/pipeline/expression.cpp:4259:1: required from here1943src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1944src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1945src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetIsSubset]’:1946src/mongo/db/pipeline/expression.cpp:4351:1: required from here1947src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1948src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1949src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSetUnion]’:1950src/mongo/db/pipeline/expression.cpp:4376:1: required from here1951src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1952src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1953src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionIsArray]’:1954src/mongo/db/pipeline/expression.cpp:4388:1: required from here1955src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1956src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1957src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSlice]’:1958src/mongo/db/pipeline/expression.cpp:4474:1: required from here1959src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1960src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1961src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSize]’:1962src/mongo/db/pipeline/expression.cpp:4491:1: required from here1963src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1964src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1965src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSplit]’:1966src/mongo/db/pipeline/expression.cpp:4541:1: required from here1967src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1968src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1969src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSqrt]’:1970src/mongo/db/pipeline/expression.cpp:4563:1: required from here1971src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1972src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1973src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrcasecmp]’:1974src/mongo/db/pipeline/expression.cpp:4587:1: required from here1975src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1976src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1977src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubstrBytes]’:1978src/mongo/db/pipeline/expression.cpp:4648:1: required from here1979src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1980src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1981src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubstrCP]’:1982src/mongo/db/pipeline/expression.cpp:4722:1: required from here1983src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1984src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1985src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrLenBytes]’:1986src/mongo/db/pipeline/expression.cpp:4751:1: required from here1987src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1988src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1989src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionBinarySize]’:1990src/mongo/db/pipeline/expression.cpp:4777:1: required from here1991src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1992src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1993src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionStrLenCP]’:1994src/mongo/db/pipeline/expression.cpp:4805:1: required from here1995src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]1996src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ call1997src/mongo/db/pipeline/expression.h: In instantiation of ‘static boost::intrusive_ptr<mongo::Expression> mongo::ExpressionNaryBase<SubClass>::parse(const boost::intrusive_ptr<mongo::ExpressionContext>&, mongo::BSONElement, const mongo::VariablesParseState&) [with SubClass = mongo::ExpressionSubtract]’:1998src/mongo/db/pipeline/expression.cpp:4857:1: required from here1999src/mongo/db/pipeline/expression.h:350:30: warning: redundant move in return statement [-Wredundant-move]2000src/mongo/db/pipeline/expression.h:350:30: note: remove ‘std::move’ callloading 95,001 hidden lines…
97002src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97003src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97004src/mongo/db/matcher/expression_type.h:69:38: required from here97005src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97006 74 | return std::move(expr);97007 | ^97008src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97009src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97010src/mongo/db/matcher/expression_type.h:69:38: required from here97011src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97012src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97013src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97014src/mongo/db/matcher/expression_type.h:69:38: required from here97015src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97016src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97017In file included from src/mongo/db/matcher/expression_text_base.h:32,97018 from src/mongo/db/matcher/extensions_callback.h:33,97019 from src/mongo/db/matcher/extensions_callback_noop.h:32,97020 from src/mongo/db/query/canonical_query.h:36,97021 from src/mongo/db/query/plan_cache.h:36,97022 from src/mongo/db/query/query_solution.h:40,97023 from src/mongo/db/query/plan_executor.h:36,97024 from src/mongo/db/query/plan_executor_impl.h:35,97025 from src/mongo/db/query/plan_executor_impl.cpp:34:97026src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97027src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97028 201 | return std::move(e);97029 | ~~~~~~~~~^~~97030src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97031src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97032src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97033 223 | return std::move(e);97034 | ~~~~~~~~~^~~97035src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97036src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97037src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97038 245 | return std::move(e);97039 | ~~~~~~~~~^~~97040src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97041src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97042src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97043 267 | return std::move(e);97044 | ~~~~~~~~~^~~97045src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97046src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97047src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97048 289 | return std::move(e);97049 | ~~~~~~~~~^~~97050src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97051src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97052src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97053 308 | return std::move(e);97054 | ~~~~~~~~~^~~97055src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97056src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97057src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97058 352 | return std::move(m);97059 | ~~~~~~~~~^~~97060src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97061src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97062src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97063 388 | return std::move(e);97064 | ~~~~~~~~~^~~97065src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97066src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97067src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97068 574 | return std::move(bitTestMatchExpression);97069 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97070src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97071src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97072src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97073 595 | return std::move(bitTestMatchExpression);97074 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97075src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97076In file included from src/mongo/db/matcher/expression_text_base.h:32,97077 from src/mongo/db/matcher/extensions_callback.h:33,97078 from src/mongo/db/matcher/extensions_callback_noop.h:32,97079 from src/mongo/db/query/canonical_query.h:36,97080 from src/mongo/db/query/plan_cache.h:36,97081 from src/mongo/db/query/query_solution.h:40,97082 from src/mongo/db/query/plan_executor.h:36,97083 from src/mongo/db/catalog/collection.h:48,97084 from src/mongo/db/exec/requires_collection_stage.h:32,97085 from src/mongo/db/exec/requires_all_indices_stage.h:32,97086 from src/mongo/db/exec/subplan.h:39,97087 from src/mongo/db/exec/subplan.cpp:34:97088src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97089src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97090 201 | return std::move(e);97091 | ~~~~~~~~~^~~97092src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97093src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97094src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97095 616 | return std::move(bitTestMatchExpression);97096 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97097src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97098src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97099src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97100 223 | return std::move(e);97101 | ~~~~~~~~~^~~97102src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97103In file included from src/mongo/db/matcher/expression_parser.h:38,97104 from src/mongo/db/matcher/copyable_match_expression.h:32,97105 from src/mongo/db/query/projection_ast.h:33,97106 from src/mongo/db/query/projection.h:33,97107 from src/mongo/db/query/canonical_query.h:38,97108 from src/mongo/db/query/plan_cache.h:36,97109 from src/mongo/db/query/query_solution.h:40,97110 from src/mongo/db/query/plan_executor.h:36,97111 from src/mongo/db/catalog/collection.h:48,97112 from src/mongo/db/catalog/collection_catalog.h:36,97113 from src/mongo/db/curop.h:35,97114 from src/mongo/db/concurrency/write_conflict_exception.h:35,97115 from src/mongo/db/s/migration_destination_manager.cpp:41:97116src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97117src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97118 126 | return std::move(self);97119 | ~~~~~~~~~^~~~~~97120src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97121src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97122src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97123 637 | return std::move(bitTestMatchExpression);97124 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97125src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97126src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97127src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97128 245 | return std::move(e);97129 | ~~~~~~~~~^~~97130src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97131src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97132src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97133 267 | return std::move(e);97134 | ~~~~~~~~~^~~97135src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97136src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97137src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97138 289 | return std::move(e);97139 | ~~~~~~~~~^~~97140src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97141src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97142src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97143 155 | return std::move(self);97144 | ~~~~~~~~~^~~~~~97145src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97146src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97147src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97148 308 | return std::move(e);97149 | ~~~~~~~~~^~~97150src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97151src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97152src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97153 352 | return std::move(m);97154 | ~~~~~~~~~^~~97155src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97156src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97157src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97158 388 | return std::move(e);97159 | ~~~~~~~~~^~~97160src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97161src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97162src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97163 184 | return std::move(self);97164 | ~~~~~~~~~^~~~~~97165src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97166src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97167src/mongo/db/matcher/expression_type.h:69:38: required from here97168src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97169 74 | return std::move(expr);97170 | ^97171src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97172src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97173src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97174 202 | return std::move(self);97175 | ~~~~~~~~~^~~~~~97176src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97177src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97178src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97179 574 | return std::move(bitTestMatchExpression);97180 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97181src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97182src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97183src/mongo/db/matcher/expression_type.h:69:38: required from here97184src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97185 74 | return std::move(expr);97186 | ^97187src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97188src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97189src/mongo/db/matcher/expression_type.h:69:38: required from here97190src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97191src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97192src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97193 595 | return std::move(bitTestMatchExpression);97194 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97195src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97196src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97197src/mongo/db/matcher/expression_type.h:69:38: required from here97198src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97199src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97200src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97201src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97202src/mongo/db/matcher/expression_type.h:69:38: required from here97203src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97204src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97205src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97206src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97207 616 | return std::move(bitTestMatchExpression);97208 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97209src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97210src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97211src/mongo/db/matcher/expression_type.h:69:38: required from here97212src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97213src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97214src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97215src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97216 637 | return std::move(bitTestMatchExpression);97217 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97218src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97219In file included from src/mongo/db/matcher/expression_parser.h:39,97220 from src/mongo/db/matcher/copyable_match_expression.h:32,97221 from src/mongo/db/query/projection_ast.h:33,97222 from src/mongo/db/query/projection.h:33,97223 from src/mongo/db/query/canonical_query.h:38,97224 from src/mongo/db/query/plan_cache.h:36,97225 from src/mongo/db/query/query_solution.h:40,97226 from src/mongo/db/query/plan_executor.h:36,97227 from src/mongo/db/catalog/collection.h:48,97228 from src/mongo/db/catalog/collection_catalog.h:36,97229 from src/mongo/db/curop.h:35,97230 from src/mongo/db/concurrency/write_conflict_exception.h:35,97231 from src/mongo/db/s/migration_destination_manager.cpp:41:97232src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:97233src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]97234 196 | return std::move(expr);97235 | ~~~~~~~~~^~~~~~97236src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call97237In file included from src/mongo/db/pipeline/expression_context.h:44,97238 from src/mongo/db/matcher/extensions_callback.h:35,97239 from src/mongo/db/matcher/extensions_callback_noop.h:32,97240 from src/mongo/db/query/canonical_query.h:36,97241 from src/mongo/db/query/plan_cache.h:36,97242 from src/mongo/db/query/query_solution.h:40,97243 from src/mongo/db/query/plan_executor.h:36,97244 from src/mongo/db/query/plan_executor_impl.h:35,97245 from src/mongo/db/query/plan_executor_impl.cpp:34:97246src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97247src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97248 90 | return std::move(pipeline);97249 | ~~~~~~~~~^~~~~~~~~~97250src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97251In file included from src/mongo/db/pipeline/expression_context.h:44,97252 from src/mongo/db/matcher/extensions_callback.h:35,97253 from src/mongo/db/matcher/extensions_callback_noop.h:32,97254 from src/mongo/db/query/canonical_query.h:36,97255 from src/mongo/db/query/plan_cache.h:36,97256 from src/mongo/db/query/query_solution.h:40,97257 from src/mongo/db/query/plan_executor.h:36,97258 from src/mongo/db/catalog/collection.h:48,97259 from src/mongo/db/exec/requires_collection_stage.h:32,97260 from src/mongo/db/exec/requires_all_indices_stage.h:32,97261 from src/mongo/db/exec/subplan.h:39,97262 from src/mongo/db/exec/subplan.cpp:34:97263src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97264src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97265 90 | return std::move(pipeline);97266 | ~~~~~~~~~^~~~~~~~~~97267src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97268Compiling build/nixos/mongo/util/elapsed_tracker.o97269In file included from src/mongo/db/matcher/expression_text_base.h:32,97270 from src/mongo/db/matcher/extensions_callback.h:33,97271 from src/mongo/db/matcher/extensions_callback_noop.h:32,97272 from src/mongo/db/query/canonical_query.h:36,97273 from src/mongo/db/query/plan_cache.h:36,97274 from src/mongo/db/query/query_solution.h:40,97275 from src/mongo/db/query/plan_executor.h:36,97276 from src/mongo/db/catalog/collection.h:48,97277 from src/mongo/db/catalog_raii.h:33,97278 from src/mongo/db/catalog/validate_state.h:35,97279 from src/mongo/db/catalog/validate_adaptor.h:32,97280 from src/mongo/db/catalog/validate_adaptor.cpp:34:97281src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97282src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97283 201 | return std::move(e);97284 | ~~~~~~~~~^~~97285src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97286src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97287src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97288 223 | return std::move(e);97289 | ~~~~~~~~~^~~97290src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97291src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97292src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97293 245 | return std::move(e);97294 | ~~~~~~~~~^~~97295src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97296src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97297src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97298 267 | return std::move(e);97299 | ~~~~~~~~~^~~97300src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97301src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97302src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97303 289 | return std::move(e);97304 | ~~~~~~~~~^~~97305src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97306src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97307src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97308 308 | return std::move(e);97309 | ~~~~~~~~~^~~97310src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97311src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97312src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97313 352 | return std::move(m);97314 | ~~~~~~~~~^~~97315src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97316src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97317src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97318 388 | return std::move(e);97319 | ~~~~~~~~~^~~97320src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97321src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97322src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97323 574 | return std::move(bitTestMatchExpression);97324 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97325src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97326src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97327src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97328 595 | return std::move(bitTestMatchExpression);97329 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97330src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97331src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97332src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97333 616 | return std::move(bitTestMatchExpression);97334 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97335src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97336src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97337src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97338 637 | return std::move(bitTestMatchExpression);97339 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97340src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97341In file included from src/mongo/db/matcher/expression_parser.h:38,97342 from src/mongo/db/matcher/copyable_match_expression.h:32,97343 from src/mongo/db/query/projection_ast.h:33,97344 from src/mongo/db/query/projection.h:33,97345 from src/mongo/db/query/canonical_query.h:38,97346 from src/mongo/db/query/plan_cache.h:36,97347 from src/mongo/db/query/query_solution.h:40,97348 from src/mongo/db/query/plan_executor.h:36,97349 from src/mongo/db/query/plan_executor_impl.h:35,97350 from src/mongo/db/query/plan_executor_impl.cpp:34:97351src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97352src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97353 126 | return std::move(self);97354 | ~~~~~~~~~^~~~~~97355src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97356src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97357src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97358 155 | return std::move(self);97359 | ~~~~~~~~~^~~~~~97360src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97361In file included from src/mongo/db/pipeline/expression_context.h:44,97362 from src/mongo/db/matcher/extensions_callback.h:35,97363 from src/mongo/db/matcher/extensions_callback_noop.h:32,97364 from src/mongo/db/query/canonical_query.h:36,97365 from src/mongo/db/query/plan_cache.h:36,97366 from src/mongo/db/query/query_solution.h:40,97367 from src/mongo/db/query/plan_executor.h:36,97368 from src/mongo/db/catalog/collection.h:48,97369 from src/mongo/db/catalog_raii.h:33,97370 from src/mongo/db/catalog/validate_state.h:35,97371 from src/mongo/db/catalog/validate_adaptor.h:32,97372 from src/mongo/db/catalog/validate_adaptor.cpp:34:97373src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97374src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97375 90 | return std::move(pipeline);97376 | ~~~~~~~~~^~~~~~~~~~97377src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97378src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97379src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97380 184 | return std::move(self);97381 | ~~~~~~~~~^~~~~~97382src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97383src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97384src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97385 202 | return std::move(self);97386 | ~~~~~~~~~^~~~~~97387src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97388In file included from src/mongo/db/matcher/expression_parser.h:39,97389 from src/mongo/db/matcher/copyable_match_expression.h:32,97390 from src/mongo/db/query/projection_ast.h:33,97391 from src/mongo/db/query/projection.h:33,97392 from src/mongo/db/query/canonical_query.h:38,97393 from src/mongo/db/query/plan_cache.h:36,97394 from src/mongo/db/query/query_solution.h:40,97395 from src/mongo/db/query/plan_executor.h:36,97396 from src/mongo/db/query/plan_executor_impl.h:35,97397 from src/mongo/db/query/plan_executor_impl.cpp:34:97398src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:97399src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]97400 196 | return std::move(expr);97401 | ~~~~~~~~~^~~~~~97402src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call97403Compiling build/nixos/mongo/db/catalog/collection_validation.o97404In file included from src/mongo/db/matcher/expression_parser.h:38,97405 from src/mongo/db/matcher/copyable_match_expression.h:32,97406 from src/mongo/db/query/projection_ast.h:33,97407 from src/mongo/db/query/projection.h:33,97408 from src/mongo/db/query/canonical_query.h:38,97409 from src/mongo/db/query/plan_cache.h:36,97410 from src/mongo/db/query/query_solution.h:40,97411 from src/mongo/db/query/plan_executor.h:36,97412 from src/mongo/db/catalog/collection.h:48,97413 from src/mongo/db/exec/requires_collection_stage.h:32,97414 from src/mongo/db/exec/requires_all_indices_stage.h:32,97415 from src/mongo/db/exec/subplan.h:39,97416 from src/mongo/db/exec/subplan.cpp:34:97417src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97418src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97419 126 | return std::move(self);97420 | ~~~~~~~~~^~~~~~97421src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97422src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97423src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97424 155 | return std::move(self);97425 | ~~~~~~~~~^~~~~~97426src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97427src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97428src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97429 184 | return std::move(self);97430 | ~~~~~~~~~^~~~~~97431src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97432src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97433src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97434 202 | return std::move(self);97435 | ~~~~~~~~~^~~~~~97436src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97437In file included from src/mongo/db/matcher/expression_parser.h:39,97438 from src/mongo/db/matcher/copyable_match_expression.h:32,97439 from src/mongo/db/query/projection_ast.h:33,97440 from src/mongo/db/query/projection.h:33,97441 from src/mongo/db/query/canonical_query.h:38,97442 from src/mongo/db/query/plan_cache.h:36,97443 from src/mongo/db/query/query_solution.h:40,97444 from src/mongo/db/query/plan_executor.h:36,97445 from src/mongo/db/catalog/collection.h:48,97446 from src/mongo/db/exec/requires_collection_stage.h:32,97447 from src/mongo/db/exec/requires_all_indices_stage.h:32,97448 from src/mongo/db/exec/subplan.h:39,97449 from src/mongo/db/exec/subplan.cpp:34:97450src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:97451src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]97452 196 | return std::move(expr);97453 | ~~~~~~~~~^~~~~~97454src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call97455In file included from src/mongo/db/pipeline/pipeline_d.h:37,97456 from src/mongo/db/pipeline/pipeline_d.cpp:34:97457src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97458src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97459 90 | return std::move(pipeline);97460 | ~~~~~~~~~^~~~~~~~~~97461src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97462In file included from src/mongo/db/matcher/expression_parser.h:38,97463 from src/mongo/db/matcher/copyable_match_expression.h:32,97464 from src/mongo/db/query/projection_ast.h:33,97465 from src/mongo/db/query/projection.h:33,97466 from src/mongo/db/query/canonical_query.h:38,97467 from src/mongo/db/query/plan_cache.h:36,97468 from src/mongo/db/query/query_solution.h:40,97469 from src/mongo/db/query/plan_executor.h:36,97470 from src/mongo/db/catalog/collection.h:48,97471 from src/mongo/db/catalog_raii.h:33,97472 from src/mongo/db/catalog/validate_state.h:35,97473 from src/mongo/db/catalog/validate_adaptor.h:32,97474 from src/mongo/db/catalog/validate_adaptor.cpp:34:97475src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97476src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97477 126 | return std::move(self);97478 | ~~~~~~~~~^~~~~~97479src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97480src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97481src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97482 155 | return std::move(self);97483 | ~~~~~~~~~^~~~~~97484src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97485src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97486src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97487 184 | return std::move(self);97488 | ~~~~~~~~~^~~~~~97489src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97490src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97491src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97492 202 | return std::move(self);97493 | ~~~~~~~~~^~~~~~97494src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97495In file included from src/mongo/db/matcher/expression_parser.h:39,97496 from src/mongo/db/matcher/copyable_match_expression.h:32,97497 from src/mongo/db/query/projection_ast.h:33,97498 from src/mongo/db/query/projection.h:33,97499 from src/mongo/db/query/canonical_query.h:38,97500 from src/mongo/db/query/plan_cache.h:36,97501 from src/mongo/db/query/query_solution.h:40,97502 from src/mongo/db/query/plan_executor.h:36,97503 from src/mongo/db/catalog/collection.h:48,97504 from src/mongo/db/catalog_raii.h:33,97505 from src/mongo/db/catalog/validate_state.h:35,97506 from src/mongo/db/catalog/validate_adaptor.h:32,97507 from src/mongo/db/catalog/validate_adaptor.cpp:34:97508src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:97509src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]97510 196 | return std::move(expr);97511 | ~~~~~~~~~^~~~~~97512src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call97513Compiling build/nixos/mongo/db/repl/base_cloner.o97514src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97515src/mongo/db/matcher/expression_type.h:69:38: required from here97516src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97517 74 | return std::move(expr);97518 | ^97519src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97520src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97521src/mongo/db/matcher/expression_type.h:69:38: required from here97522src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97523src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97524src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97525src/mongo/db/matcher/expression_type.h:69:38: required from here97526src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97527src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97528Compiling build/nixos/mongo/db/repl/database_cloner.o97529src/mongo/db/query/plan_executor_impl.cpp: In static member function ‘static mongo::StatusWith<std::unique_ptr<mongo::PlanExecutor, mongo::PlanExecutor::Deleter> > mongo::PlanExecutorImpl::make(mongo::OperationContext*, std::unique_ptr<mongo::WorkingSet>, std::unique_ptr<mongo::PlanStage>, std::unique_ptr<mongo::QuerySolution>, std::unique_ptr<mongo::CanonicalQuery>, const boost::intrusive_ptr<mongo::ExpressionContext>&, const mongo::Collection*, mongo::NamespaceString, mongo::PlanExecutor::YieldPolicy)’:97530src/mongo/db/query/plan_executor_impl.cpp:217:21: warning: redundant move in return statement [-Wredundant-move]97531 217 | return std::move(exec);97532 | ~~~~~~~~~^~~~~~97533src/mongo/db/query/plan_executor_impl.cpp:217:21: note: remove ‘std::move’ call97534src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97535src/mongo/db/matcher/expression_type.h:69:38: required from here97536src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97537 74 | return std::move(expr);97538 | ^97539src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97540src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97541src/mongo/db/matcher/expression_type.h:69:38: required from here97542src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97543src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97544src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97545src/mongo/db/matcher/expression_type.h:69:38: required from here97546src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97547src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97548In file included from src/mongo/db/matcher/expression_text_base.h:32,97549 from src/mongo/db/matcher/extensions_callback.h:33,97550 from src/mongo/db/matcher/extensions_callback_noop.h:32,97551 from src/mongo/db/query/canonical_query.h:36,97552 from src/mongo/db/query/plan_cache.h:36,97553 from src/mongo/db/query/query_solution.h:40,97554 from src/mongo/db/query/plan_executor.h:36,97555 from src/mongo/db/catalog/collection.h:48,97556 from src/mongo/db/catalog_raii.h:33,97557 from src/mongo/db/db_raii.h:34,97558 from src/mongo/db/pipeline/document_source_cursor.h:34,97559 from src/mongo/db/pipeline/pipeline_d.h:39,97560 from src/mongo/db/pipeline/pipeline_d.cpp:34:97561src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97562src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97563 201 | return std::move(e);97564 | ~~~~~~~~~^~~97565src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97566src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97567src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97568 223 | return std::move(e);97569 | ~~~~~~~~~^~~97570src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97571src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97572src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97573 245 | return std::move(e);97574 | ~~~~~~~~~^~~97575src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97576src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97577src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97578 267 | return std::move(e);97579 | ~~~~~~~~~^~~97580src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97581src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97582src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97583 289 | return std::move(e);97584 | ~~~~~~~~~^~~97585src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97586src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97587src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97588 308 | return std::move(e);97589 | ~~~~~~~~~^~~97590src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97591src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97592src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97593 352 | return std::move(m);97594 | ~~~~~~~~~^~~97595src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97596src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97597src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97598 388 | return std::move(e);97599 | ~~~~~~~~~^~~97600src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97601src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97602src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97603 574 | return std::move(bitTestMatchExpression);97604 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97605src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97606Compiling build/nixos/mongo/db/exec/shard_filter.o97607src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97608src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97609 595 | return std::move(bitTestMatchExpression);97610 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97611src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97612src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97613src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97614 616 | return std::move(bitTestMatchExpression);97615 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97616src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97617src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97618src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97619 637 | return std::move(bitTestMatchExpression);97620 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97621src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97622Generating library build/nixos/mongo/util/libelapsed_tracker.a97623Skipping ranlib for thin archive build/nixos/mongo/util/libelapsed_tracker.a97624Compiling build/nixos/mongo/db/ops/find_and_modify_result.o97625Compiling build/nixos/mongo/db/catalog/index_build_block.o97626In file included from src/mongo/db/matcher/expression_parser.h:38,97627 from src/mongo/db/matcher/copyable_match_expression.h:32,97628 from src/mongo/db/query/projection_ast.h:33,97629 from src/mongo/db/query/projection.h:33,97630 from src/mongo/db/query/canonical_query.h:38,97631 from src/mongo/db/query/plan_cache.h:36,97632 from src/mongo/db/query/query_solution.h:40,97633 from src/mongo/db/query/plan_executor.h:36,97634 from src/mongo/db/catalog/collection.h:48,97635 from src/mongo/db/catalog_raii.h:33,97636 from src/mongo/db/db_raii.h:34,97637 from src/mongo/db/pipeline/document_source_cursor.h:34,97638 from src/mongo/db/pipeline/pipeline_d.h:39,97639 from src/mongo/db/pipeline/pipeline_d.cpp:34:97640src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97641src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97642 126 | return std::move(self);97643 | ~~~~~~~~~^~~~~~97644src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97645src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97646src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97647 155 | return std::move(self);97648 | ~~~~~~~~~^~~~~~97649src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97650src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97651src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97652 184 | return std::move(self);97653 | ~~~~~~~~~^~~~~~97654src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97655src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97656src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97657 202 | return std::move(self);97658 | ~~~~~~~~~^~~~~~97659src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97660In file included from src/mongo/db/matcher/expression_parser.h:39,97661 from src/mongo/db/matcher/copyable_match_expression.h:32,97662 from src/mongo/db/query/projection_ast.h:33,97663 from src/mongo/db/query/projection.h:33,97664 from src/mongo/db/query/canonical_query.h:38,97665 from src/mongo/db/query/plan_cache.h:36,97666 from src/mongo/db/query/query_solution.h:40,97667 from src/mongo/db/query/plan_executor.h:36,97668 from src/mongo/db/catalog/collection.h:48,97669 from src/mongo/db/catalog_raii.h:33,97670 from src/mongo/db/db_raii.h:34,97671 from src/mongo/db/pipeline/document_source_cursor.h:34,97672 from src/mongo/db/pipeline/pipeline_d.h:39,97673 from src/mongo/db/pipeline/pipeline_d.cpp:34:97674src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:97675src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]97676 196 | return std::move(expr);97677 | ~~~~~~~~~^~~~~~97678src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call97679src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:97680src/mongo/db/matcher/expression_type.h:69:38: required from here97681src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97682 74 | return std::move(expr);97683 | ^97684src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97685src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:97686src/mongo/db/matcher/expression_type.h:69:38: required from here97687src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97688src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97689src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:97690src/mongo/db/matcher/expression_type.h:69:38: required from here97691src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]97692src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call97693In file included from src/mongo/db/matcher/expression_text_base.h:32,97694 from src/mongo/db/matcher/extensions_callback.h:33,97695 from src/mongo/db/matcher/extensions_callback_noop.h:32,97696 from src/mongo/db/query/canonical_query.h:36,97697 from src/mongo/db/query/plan_cache.h:36,97698 from src/mongo/db/query/query_solution.h:40,97699 from src/mongo/db/query/plan_executor.h:36,97700 from src/mongo/db/catalog/collection.h:48,97701 from src/mongo/db/catalog/collection_validation.cpp:38:97702src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97703src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97704 201 | return std::move(e);97705 | ~~~~~~~~~^~~97706src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97707src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97708src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97709 223 | return std::move(e);97710 | ~~~~~~~~~^~~97711src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97712src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97713src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97714 245 | return std::move(e);97715 | ~~~~~~~~~^~~97716src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97717src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97718src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97719 267 | return std::move(e);97720 | ~~~~~~~~~^~~97721src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97722src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97723src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97724 289 | return std::move(e);97725 | ~~~~~~~~~^~~97726src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97727In file included from src/mongo/db/pipeline/expression_context.h:44,97728 from src/mongo/db/exec/plan_stage.h:37,97729 from src/mongo/db/exec/shard_filter.h:32,97730 from src/mongo/db/exec/shard_filter.cpp:34:97731src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97732src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97733 90 | return std::move(pipeline);97734 | ~~~~~~~~~^~~~~~~~~~97735src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97736src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97737src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97738 308 | return std::move(e);97739 | ~~~~~~~~~^~~97740src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97741src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97742src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97743 352 | return std::move(m);97744 | ~~~~~~~~~^~~97745src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97746src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97747src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97748 388 | return std::move(e);97749 | ~~~~~~~~~^~~97750src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97751src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97752src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97753 574 | return std::move(bitTestMatchExpression);97754 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97755src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97756src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97757src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97758 595 | return std::move(bitTestMatchExpression);97759 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97760src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97761In file included from src/mongo/db/matcher/expression_text_base.h:32,97762 from src/mongo/db/matcher/extensions_callback.h:33,97763 from src/mongo/db/matcher/extensions_callback_noop.h:32,97764 from src/mongo/db/query/canonical_query.h:36,97765 from src/mongo/db/query/plan_cache.h:36,97766 from src/mongo/db/query/query_solution.h:40,97767 from src/mongo/db/query/plan_executor.h:36,97768 from src/mongo/db/catalog/collection.h:48,97769 from src/mongo/db/repl/storage_interface.h:40,97770 from src/mongo/db/repl/base_cloner.h:39,97771 from src/mongo/db/repl/base_cloner.cpp:34:97772src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97773src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97774 201 | return std::move(e);97775 | ~~~~~~~~~^~~97776src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97777src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97778src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97779 223 | return std::move(e);97780 | ~~~~~~~~~^~~97781src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97782src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97783src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97784 245 | return std::move(e);97785 | ~~~~~~~~~^~~97786src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97787src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97788src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97789 267 | return std::move(e);97790 | ~~~~~~~~~^~~97791src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97792src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97793src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97794 289 | return std::move(e);97795 | ~~~~~~~~~^~~97796src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97797src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97798src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97799 308 | return std::move(e);97800 | ~~~~~~~~~^~~97801src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97802In file included from src/mongo/db/matcher/expression_text_base.h:32,97803 from src/mongo/db/matcher/extensions_callback.h:33,97804 from src/mongo/db/matcher/extensions_callback_noop.h:32,97805 from src/mongo/db/query/canonical_query.h:36,97806 from src/mongo/db/query/plan_cache.h:36,97807 from src/mongo/db/query/query_solution.h:40,97808 from src/mongo/db/query/plan_executor.h:36,97809 from src/mongo/db/catalog/collection.h:48,97810 from src/mongo/db/repl/storage_interface.h:40,97811 from src/mongo/db/repl/base_cloner.h:39,97812 from src/mongo/db/repl/database_cloner.h:34,97813 from src/mongo/db/repl/database_cloner.cpp:36:97814src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:97815src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]97816 201 | return std::move(e);97817 | ~~~~~~~~~^~~97818src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call97819src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97820src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97821 352 | return std::move(m);97822 | ~~~~~~~~~^~~97823src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97824src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:97825src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]97826 223 | return std::move(e);97827 | ~~~~~~~~~^~~97828src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call97829src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97830src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97831 388 | return std::move(e);97832 | ~~~~~~~~~^~~97833src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97834src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:97835src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]97836 245 | return std::move(e);97837 | ~~~~~~~~~^~~97838src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call97839src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97840src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97841 574 | return std::move(bitTestMatchExpression);97842 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97843src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97844src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:97845src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]97846 267 | return std::move(e);97847 | ~~~~~~~~~^~~97848src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call97849src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97850src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97851 595 | return std::move(bitTestMatchExpression);97852 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97853src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97854src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:97855src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]97856 289 | return std::move(e);97857 | ~~~~~~~~~^~~97858src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call97859src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97860src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97861 616 | return std::move(bitTestMatchExpression);97862 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97863src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97864src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97865src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97866 637 | return std::move(bitTestMatchExpression);97867 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97868src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97869src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:97870src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]97871 308 | return std::move(e);97872 | ~~~~~~~~~^~~97873src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call97874src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:97875src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]97876 352 | return std::move(m);97877 | ~~~~~~~~~^~~97878src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call97879src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:97880src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]97881 388 | return std::move(e);97882 | ~~~~~~~~~^~~97883src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call97884In file included from src/mongo/db/pipeline/expression_context.h:44,97885 from src/mongo/db/matcher/extensions_callback.h:35,97886 from src/mongo/db/matcher/extensions_callback_noop.h:32,97887 from src/mongo/db/query/canonical_query.h:36,97888 from src/mongo/db/query/plan_cache.h:36,97889 from src/mongo/db/query/query_solution.h:40,97890 from src/mongo/db/query/plan_executor.h:36,97891 from src/mongo/db/catalog/collection.h:48,97892 from src/mongo/db/repl/storage_interface.h:40,97893 from src/mongo/db/repl/base_cloner.h:39,97894 from src/mongo/db/repl/base_cloner.cpp:34:97895src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97896src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97897 90 | return std::move(pipeline);97898 | ~~~~~~~~~^~~~~~~~~~97899src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97900src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:97901src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]97902 574 | return std::move(bitTestMatchExpression);97903 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97904src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call97905src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:97906src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]97907 595 | return std::move(bitTestMatchExpression);97908 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97909src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call97910src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97911src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97912 616 | return std::move(bitTestMatchExpression);97913 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97914src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97915src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97916src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97917 637 | return std::move(bitTestMatchExpression);97918 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97919src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97920In file included from src/mongo/db/pipeline/expression_context.h:44,97921 from src/mongo/db/matcher/extensions_callback.h:35,97922 from src/mongo/db/matcher/extensions_callback_noop.h:32,97923 from src/mongo/db/query/canonical_query.h:36,97924 from src/mongo/db/query/plan_cache.h:36,97925 from src/mongo/db/query/query_solution.h:40,97926 from src/mongo/db/query/plan_executor.h:36,97927 from src/mongo/db/catalog/collection.h:48,97928 from src/mongo/db/repl/storage_interface.h:40,97929 from src/mongo/db/repl/base_cloner.h:39,97930 from src/mongo/db/repl/database_cloner.h:34,97931 from src/mongo/db/repl/database_cloner.cpp:36:97932src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97933src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97934 90 | return std::move(pipeline);97935 | ~~~~~~~~~^~~~~~~~~~97936src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97937src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:97938src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]97939 616 | return std::move(bitTestMatchExpression);97940 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97941src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call97942src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:97943src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]97944 637 | return std::move(bitTestMatchExpression);97945 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~97946src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call97947In file included from src/mongo/db/pipeline/expression_context.h:44,97948 from src/mongo/db/matcher/extensions_callback.h:35,97949 from src/mongo/db/matcher/extensions_callback_noop.h:32,97950 from src/mongo/db/query/canonical_query.h:36,97951 from src/mongo/db/query/plan_cache.h:36,97952 from src/mongo/db/query/query_solution.h:40,97953 from src/mongo/db/query/plan_executor.h:36,97954 from src/mongo/db/catalog/collection.h:48,97955 from src/mongo/db/catalog/collection_validation.cpp:38:97956src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:97957src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]97958 90 | return std::move(pipeline);97959 | ~~~~~~~~~^~~~~~~~~~97960src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call97961In file included from src/mongo/db/matcher/expression_parser.h:38,97962 from src/mongo/db/matcher/copyable_match_expression.h:32,97963 from src/mongo/db/query/projection_ast.h:33,97964 from src/mongo/db/query/projection.h:33,97965 from src/mongo/db/query/canonical_query.h:38,97966 from src/mongo/db/query/plan_cache.h:36,97967 from src/mongo/db/query/query_solution.h:40,97968 from src/mongo/db/query/plan_executor.h:36,97969 from src/mongo/db/catalog/collection.h:48,97970 from src/mongo/db/catalog/collection_validation.cpp:38:97971src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:97972src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]97973 126 | return std::move(self);97974 | ~~~~~~~~~^~~~~~97975src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call97976src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:97977src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]97978 155 | return std::move(self);97979 | ~~~~~~~~~^~~~~~97980src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call97981src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:97982src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]97983 184 | return std::move(self);97984 | ~~~~~~~~~^~~~~~97985src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call97986src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:97987src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]97988 202 | return std::move(self);97989 | ~~~~~~~~~^~~~~~97990src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call97991In file included from src/mongo/db/matcher/expression_parser.h:39,97992 from src/mongo/db/matcher/copyable_match_expression.h:32,97993 from src/mongo/db/query/projection_ast.h:33,97994 from src/mongo/db/query/projection.h:33,97995 from src/mongo/db/query/canonical_query.h:38,97996 from src/mongo/db/query/plan_cache.h:36,97997 from src/mongo/db/query/query_solution.h:40,97998 from src/mongo/db/query/plan_executor.h:36,97999 from src/mongo/db/catalog/collection.h:48,98000 from src/mongo/db/catalog/collection_validation.cpp:38:98001src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98002src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98003 196 | return std::move(expr);98004 | ~~~~~~~~~^~~~~~98005src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98006In file included from src/mongo/db/matcher/expression_parser.h:38,98007 from src/mongo/db/matcher/copyable_match_expression.h:32,98008 from src/mongo/db/query/projection_ast.h:33,98009 from src/mongo/db/query/projection.h:33,98010 from src/mongo/db/query/canonical_query.h:38,98011 from src/mongo/db/query/plan_cache.h:36,98012 from src/mongo/db/query/query_solution.h:40,98013 from src/mongo/db/query/plan_executor.h:36,98014 from src/mongo/db/catalog/collection.h:48,98015 from src/mongo/db/repl/storage_interface.h:40,98016 from src/mongo/db/repl/base_cloner.h:39,98017 from src/mongo/db/repl/base_cloner.cpp:34:98018src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98019src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98020 126 | return std::move(self);98021 | ~~~~~~~~~^~~~~~98022src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98023src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98024src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98025 155 | return std::move(self);98026 | ~~~~~~~~~^~~~~~98027src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98028src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98029src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98030 184 | return std::move(self);98031 | ~~~~~~~~~^~~~~~98032src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98033src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98034src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98035 202 | return std::move(self);98036 | ~~~~~~~~~^~~~~~98037src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98038In file included from src/mongo/db/matcher/expression_parser.h:39,98039 from src/mongo/db/matcher/copyable_match_expression.h:32,98040 from src/mongo/db/query/projection_ast.h:33,98041 from src/mongo/db/query/projection.h:33,98042 from src/mongo/db/query/canonical_query.h:38,98043 from src/mongo/db/query/plan_cache.h:36,98044 from src/mongo/db/query/query_solution.h:40,98045 from src/mongo/db/query/plan_executor.h:36,98046 from src/mongo/db/catalog/collection.h:48,98047 from src/mongo/db/repl/storage_interface.h:40,98048 from src/mongo/db/repl/base_cloner.h:39,98049 from src/mongo/db/repl/base_cloner.cpp:34:98050src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98051src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98052 196 | return std::move(expr);98053 | ~~~~~~~~~^~~~~~98054src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98055In file included from src/mongo/db/matcher/expression_parser.h:38,98056 from src/mongo/db/matcher/copyable_match_expression.h:32,98057 from src/mongo/db/query/projection_ast.h:33,98058 from src/mongo/db/query/projection.h:33,98059 from src/mongo/db/query/canonical_query.h:38,98060 from src/mongo/db/query/plan_cache.h:36,98061 from src/mongo/db/query/query_solution.h:40,98062 from src/mongo/db/query/plan_executor.h:36,98063 from src/mongo/db/catalog/collection.h:48,98064 from src/mongo/db/repl/storage_interface.h:40,98065 from src/mongo/db/repl/base_cloner.h:39,98066 from src/mongo/db/repl/database_cloner.h:34,98067 from src/mongo/db/repl/database_cloner.cpp:36:98068src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98069src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98070 126 | return std::move(self);98071 | ~~~~~~~~~^~~~~~98072src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98073src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98074src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98075 155 | return std::move(self);98076 | ~~~~~~~~~^~~~~~98077src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98078src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98079src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98080 184 | return std::move(self);98081 | ~~~~~~~~~^~~~~~98082src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98083src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98084src/mongo/db/matcher/expression_type.h:69:38: required from here98085src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98086 74 | return std::move(expr);98087 | ^98088src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98089src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98090src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98091 202 | return std::move(self);98092 | ~~~~~~~~~^~~~~~98093src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98094src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98095src/mongo/db/matcher/expression_type.h:69:38: required from here98096src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98097src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98098src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98099src/mongo/db/matcher/expression_type.h:69:38: required from here98100src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98101src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98102In file included from src/mongo/db/matcher/expression_parser.h:39,98103 from src/mongo/db/matcher/copyable_match_expression.h:32,98104 from src/mongo/db/query/projection_ast.h:33,98105 from src/mongo/db/query/projection.h:33,98106 from src/mongo/db/query/canonical_query.h:38,98107 from src/mongo/db/query/plan_cache.h:36,98108 from src/mongo/db/query/query_solution.h:40,98109 from src/mongo/db/query/plan_executor.h:36,98110 from src/mongo/db/catalog/collection.h:48,98111 from src/mongo/db/repl/storage_interface.h:40,98112 from src/mongo/db/repl/base_cloner.h:39,98113 from src/mongo/db/repl/database_cloner.h:34,98114 from src/mongo/db/repl/database_cloner.cpp:36:98115src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98116src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98117 196 | return std::move(expr);98118 | ~~~~~~~~~^~~~~~98119src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98120In file included from src/mongo/db/matcher/expression_text_base.h:32,98121 from src/mongo/db/matcher/extensions_callback.h:33,98122 from src/mongo/db/matcher/extensions_callback_noop.h:32,98123 from src/mongo/db/query/canonical_query.h:36,98124 from src/mongo/db/query/plan_cache.h:36,98125 from src/mongo/db/query/query_solution.h:40,98126 from src/mongo/db/query/plan_executor.h:36,98127 from src/mongo/db/catalog/collection.h:48,98128 from src/mongo/db/catalog/index_build_block.cpp:38:98129src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98130src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98131 201 | return std::move(e);98132 | ~~~~~~~~~^~~98133src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98134src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98135src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98136 223 | return std::move(e);98137 | ~~~~~~~~~^~~98138src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98139src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98140src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98141 245 | return std::move(e);98142 | ~~~~~~~~~^~~98143src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98144src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98145src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98146 267 | return std::move(e);98147 | ~~~~~~~~~^~~98148src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98149src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98150src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98151 289 | return std::move(e);98152 | ~~~~~~~~~^~~98153src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98154src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98155src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98156 308 | return std::move(e);98157 | ~~~~~~~~~^~~98158src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98159src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98160src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98161 352 | return std::move(m);98162 | ~~~~~~~~~^~~98163src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98164src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98165src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98166 388 | return std::move(e);98167 | ~~~~~~~~~^~~98168src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98169In file included from src/mongo/db/matcher/expression_parser.h:39,98170 from src/mongo/db/matcher/copyable_match_expression.h:32,98171 from src/mongo/db/query/projection_ast.h:33,98172 from src/mongo/db/query/projection.h:33,98173 from src/mongo/db/query/canonical_query.h:38,98174 from src/mongo/db/query/plan_cache.h:36,98175 from src/mongo/db/query/query_solution.h:40,98176 from src/mongo/db/query/plan_executor.h:36,98177 from src/mongo/db/query/plan_executor_impl.h:35,98178 from src/mongo/db/query/plan_executor_impl.cpp:34:98179src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98180src/mongo/db/matcher/expression_type.h:69:38: required from here98181src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98182 74 | return std::move(expr);98183 | ^98184src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98185src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98186src/mongo/db/matcher/expression_type.h:69:38: required from here98187src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98188src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98189src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98190src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98191 574 | return std::move(bitTestMatchExpression);98192 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98193src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call98194src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98195src/mongo/db/matcher/expression_type.h:69:38: required from here98196src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98197src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98198src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:98199src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]98200 595 | return std::move(bitTestMatchExpression);98201 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98202src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call98203src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:98204src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]98205 616 | return std::move(bitTestMatchExpression);98206 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98207src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call98208src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:98209src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]98210 637 | return std::move(bitTestMatchExpression);98211 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98212src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call98213In file included from src/mongo/db/pipeline/expression_context.h:44,98214 from src/mongo/db/matcher/extensions_callback.h:35,98215 from src/mongo/db/matcher/extensions_callback_noop.h:32,98216 from src/mongo/db/query/canonical_query.h:36,98217 from src/mongo/db/query/plan_cache.h:36,98218 from src/mongo/db/query/query_solution.h:40,98219 from src/mongo/db/query/plan_executor.h:36,98220 from src/mongo/db/catalog/collection.h:48,98221 from src/mongo/db/catalog/index_build_block.cpp:38:98222src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98223src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98224 90 | return std::move(pipeline);98225 | ~~~~~~~~~^~~~~~~~~~98226src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98227Generating library build/nixos/mongo/db/commands/libmap_reduce_agg.a98228Skipping ranlib for thin archive build/nixos/mongo/db/commands/libmap_reduce_agg.a98229Generating library build/nixos/mongo/db/libread_concern_d_impl.a98230Skipping ranlib for thin archive build/nixos/mongo/db/libread_concern_d_impl.a98231Generating library build/nixos/mongo/db/storage/kv/libkv_prefix.a98232Skipping ranlib for thin archive build/nixos/mongo/db/storage/kv/libkv_prefix.a98233Compiling build/nixos/mongo/db/cursor_manager.o98234src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98235src/mongo/db/matcher/expression_type.h:69:38: required from here98236src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98237 74 | return std::move(expr);98238 | ^98239src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98240src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98241src/mongo/db/matcher/expression_type.h:69:38: required from here98242src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98243src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98244src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98245src/mongo/db/matcher/expression_type.h:69:38: required from here98246src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98247src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98248In file included from src/mongo/db/matcher/expression_parser.h:38,98249 from src/mongo/db/matcher/copyable_match_expression.h:32,98250 from src/mongo/db/query/projection_ast.h:33,98251 from src/mongo/db/query/projection.h:33,98252 from src/mongo/db/query/canonical_query.h:38,98253 from src/mongo/db/query/plan_cache.h:36,98254 from src/mongo/db/query/query_solution.h:40,98255 from src/mongo/db/query/plan_executor.h:36,98256 from src/mongo/db/catalog/collection.h:48,98257 from src/mongo/db/catalog/index_build_block.cpp:38:98258src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98259src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98260 126 | return std::move(self);98261 | ~~~~~~~~~^~~~~~98262src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98263src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98264src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98265 155 | return std::move(self);98266 | ~~~~~~~~~^~~~~~98267src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98268src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98269src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98270 184 | return std::move(self);98271 | ~~~~~~~~~^~~~~~98272src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98273src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98274src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98275 202 | return std::move(self);98276 | ~~~~~~~~~^~~~~~98277src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98278In file included from src/mongo/db/matcher/expression_parser.h:39,98279 from src/mongo/db/matcher/copyable_match_expression.h:32,98280 from src/mongo/db/query/projection_ast.h:33,98281 from src/mongo/db/query/projection.h:33,98282 from src/mongo/db/query/canonical_query.h:38,98283 from src/mongo/db/query/plan_cache.h:36,98284 from src/mongo/db/query/query_solution.h:40,98285 from src/mongo/db/query/plan_executor.h:36,98286 from src/mongo/db/catalog/collection.h:48,98287 from src/mongo/db/catalog/index_build_block.cpp:38:98288src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98289src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98290 196 | return std::move(expr);98291 | ~~~~~~~~~^~~~~~98292src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98293Compiling build/nixos/mongo/db/repl/initial_sync_shared_data.o98294Compiling build/nixos/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o98295Generating library build/nixos/mongo/db/repl/librollback_checker.a98296Skipping ranlib for thin archive build/nixos/mongo/db/repl/librollback_checker.a98297Generating library build/nixos/mongo/db/storage/libstorage_file_util.a98298Skipping ranlib for thin archive build/nixos/mongo/db/storage/libstorage_file_util.a98299Compiling build/nixos/mongo/db/pipeline/document_source_geo_near_cursor.o98300Generating library build/nixos/mongo/db/s/libchunk_splitter.a98301Skipping ranlib for thin archive build/nixos/mongo/db/s/libchunk_splitter.a98302Compiling build/nixos/mongo/db/run_op_kill_cursors.o98303src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98304src/mongo/db/matcher/expression_type.h:69:38: required from here98305src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98306 74 | return std::move(expr);98307 | ^98308src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98309src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98310src/mongo/db/matcher/expression_type.h:69:38: required from here98311src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98312src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98313src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98314src/mongo/db/matcher/expression_type.h:69:38: required from here98315src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98316src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98317In file included from src/mongo/db/matcher/expression_text_base.h:32,98318 from src/mongo/db/matcher/extensions_callback.h:33,98319 from src/mongo/db/matcher/extensions_callback_noop.h:32,98320 from src/mongo/db/query/canonical_query.h:36,98321 from src/mongo/db/query/plan_cache.h:36,98322 from src/mongo/db/query/query_solution.h:40,98323 from src/mongo/db/query/plan_executor.h:36,98324 from src/mongo/db/clientcursor.h:40,98325 from src/mongo/db/cursor_manager.h:35,98326 from src/mongo/db/cursor_manager.cpp:34:98327src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98328src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98329 201 | return std::move(e);98330 | ~~~~~~~~~^~~98331src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98332src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98333src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98334 223 | return std::move(e);98335 | ~~~~~~~~~^~~98336src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98337src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98338src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98339 245 | return std::move(e);98340 | ~~~~~~~~~^~~98341src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98342src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98343src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98344 267 | return std::move(e);98345 | ~~~~~~~~~^~~98346src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98347src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98348src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98349 289 | return std::move(e);98350 | ~~~~~~~~~^~~98351src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98352src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98353src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98354 308 | return std::move(e);98355 | ~~~~~~~~~^~~98356src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98357src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98358src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98359 352 | return std::move(m);98360 | ~~~~~~~~~^~~98361src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98362src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98363src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98364 388 | return std::move(e);98365 | ~~~~~~~~~^~~98366src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98367src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98368src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98369 574 | return std::move(bitTestMatchExpression);98370 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98371src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call98372Generating library build/nixos/mongo/db/repl/libinitial_sync_shared_data.a98373Skipping ranlib for thin archive build/nixos/mongo/db/repl/libinitial_sync_shared_data.a98374Compiling build/nixos/mongo/db/exec/index_scan.o98375Compiling build/nixos/mongo/db/exec/change_stream_proxy.o98376src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:98377src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]98378 595 | return std::move(bitTestMatchExpression);98379 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98380src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call98381src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:98382src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]98383 616 | return std::move(bitTestMatchExpression);98384 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98385src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call98386src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:98387src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]98388 637 | return std::move(bitTestMatchExpression);98389 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98390src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call98391In file included from src/mongo/db/pipeline/expression_context.h:44,98392 from src/mongo/db/matcher/extensions_callback.h:35,98393 from src/mongo/db/matcher/extensions_callback_noop.h:32,98394 from src/mongo/db/query/canonical_query.h:36,98395 from src/mongo/db/query/plan_cache.h:36,98396 from src/mongo/db/query/query_solution.h:40,98397 from src/mongo/db/query/plan_executor.h:36,98398 from src/mongo/db/clientcursor.h:40,98399 from src/mongo/db/cursor_manager.h:35,98400 from src/mongo/db/cursor_manager.cpp:34:98401src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98402src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98403 90 | return std::move(pipeline);98404 | ~~~~~~~~~^~~~~~~~~~98405src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98406src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98407src/mongo/db/matcher/expression_type.h:69:38: required from here98408src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98409 74 | return std::move(expr);98410 | ^98411src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98412src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98413src/mongo/db/matcher/expression_type.h:69:38: required from here98414src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98415src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98416src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98417src/mongo/db/matcher/expression_type.h:69:38: required from here98418src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98419src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98420In file included from src/mongo/db/matcher/expression_parser.h:38,98421 from src/mongo/db/matcher/copyable_match_expression.h:32,98422 from src/mongo/db/query/projection_ast.h:33,98423 from src/mongo/db/query/projection.h:33,98424 from src/mongo/db/query/canonical_query.h:38,98425 from src/mongo/db/query/plan_cache.h:36,98426 from src/mongo/db/query/query_solution.h:40,98427 from src/mongo/db/query/plan_executor.h:36,98428 from src/mongo/db/clientcursor.h:40,98429 from src/mongo/db/cursor_manager.h:35,98430 from src/mongo/db/cursor_manager.cpp:34:98431src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98432src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98433 126 | return std::move(self);98434 | ~~~~~~~~~^~~~~~98435src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98436src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98437src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98438 155 | return std::move(self);98439 | ~~~~~~~~~^~~~~~98440src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98441src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98442src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98443 184 | return std::move(self);98444 | ~~~~~~~~~^~~~~~98445src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98446src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98447src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98448 202 | return std::move(self);98449 | ~~~~~~~~~^~~~~~98450src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98451In file included from src/mongo/db/matcher/expression_parser.h:39,98452 from src/mongo/db/matcher/copyable_match_expression.h:32,98453 from src/mongo/db/query/projection_ast.h:33,98454 from src/mongo/db/query/projection.h:33,98455 from src/mongo/db/query/canonical_query.h:38,98456 from src/mongo/db/query/plan_cache.h:36,98457 from src/mongo/db/query/query_solution.h:40,98458 from src/mongo/db/query/plan_executor.h:36,98459 from src/mongo/db/clientcursor.h:40,98460 from src/mongo/db/cursor_manager.h:35,98461 from src/mongo/db/cursor_manager.cpp:34:98462src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98463src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98464 196 | return std::move(expr);98465 | ~~~~~~~~~^~~~~~98466src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98467src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98468src/mongo/db/matcher/expression_type.h:69:38: required from here98469src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98470 74 | return std::move(expr);98471 | ^98472src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98473src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98474src/mongo/db/matcher/expression_type.h:69:38: required from here98475src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98476src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98477src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98478src/mongo/db/matcher/expression_type.h:69:38: required from here98479src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98480src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98481src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98482src/mongo/db/matcher/expression_type.h:69:38: required from here98483src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98484 74 | return std::move(expr);98485 | ^98486src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98487src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98488src/mongo/db/matcher/expression_type.h:69:38: required from here98489src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98490src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98491src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98492src/mongo/db/matcher/expression_type.h:69:38: required from here98493src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98494src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98495src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98496src/mongo/db/matcher/expression_type.h:69:38: required from here98497src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98498 74 | return std::move(expr);98499 | ^98500src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98501src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98502src/mongo/db/matcher/expression_type.h:69:38: required from here98503src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98504src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98505src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98506src/mongo/db/matcher/expression_type.h:69:38: required from here98507src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98508src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98509In file included from src/mongo/db/matcher/expression_text_base.h:32,98510 from src/mongo/db/matcher/extensions_callback.h:33,98511 from src/mongo/db/matcher/extensions_callback_noop.h:32,98512 from src/mongo/db/query/canonical_query.h:36,98513 from src/mongo/db/query/plan_cache.h:36,98514 from src/mongo/db/query/query_solution.h:40,98515 from src/mongo/db/query/plan_executor.h:36,98516 from src/mongo/db/catalog/collection.h:48,98517 from src/mongo/db/pipeline/document_source_geo_near_cursor.h:39,98518 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:98519src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98520src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98521 201 | return std::move(e);98522 | ~~~~~~~~~^~~98523src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98524src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98525src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98526 223 | return std::move(e);98527 | ~~~~~~~~~^~~98528src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98529src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98530src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98531 245 | return std::move(e);98532 | ~~~~~~~~~^~~98533src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98534src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98535src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98536 267 | return std::move(e);98537 | ~~~~~~~~~^~~98538src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98539src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98540src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98541 289 | return std::move(e);98542 | ~~~~~~~~~^~~98543src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98544src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98545src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98546 308 | return std::move(e);98547 | ~~~~~~~~~^~~98548src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98549src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98550src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98551 352 | return std::move(m);98552 | ~~~~~~~~~^~~98553src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98554src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98555src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98556 388 | return std::move(e);98557 | ~~~~~~~~~^~~98558src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98559src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98560src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98561 574 | return std::move(bitTestMatchExpression);98562 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98563src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call98564src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:98565src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]98566 595 | return std::move(bitTestMatchExpression);98567 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98568src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call98569src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:98570src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]98571 616 | return std::move(bitTestMatchExpression);98572 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98573src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call98574In file included from src/mongo/db/matcher/expression_text_base.h:32,98575 from src/mongo/db/matcher/extensions_callback.h:33,98576 from src/mongo/db/matcher/extensions_callback_noop.h:32,98577 from src/mongo/db/query/canonical_query.h:36,98578 from src/mongo/db/query/plan_cache.h:36,98579 from src/mongo/db/query/query_solution.h:40,98580 from src/mongo/db/query/plan_executor.h:36,98581 from src/mongo/db/clientcursor.h:40,98582 from src/mongo/db/cursor_manager.h:35,98583 from src/mongo/db/run_op_kill_cursors.cpp:38:98584src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98585src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98586 201 | return std::move(e);98587 | ~~~~~~~~~^~~98588src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98589src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98590src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98591 223 | return std::move(e);98592 | ~~~~~~~~~^~~98593src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98594src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98595src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98596 245 | return std::move(e);98597 | ~~~~~~~~~^~~98598src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98599src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98600src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98601 267 | return std::move(e);98602 | ~~~~~~~~~^~~98603src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98604src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98605src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98606 289 | return std::move(e);98607 | ~~~~~~~~~^~~98608src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98609src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98610src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98611 308 | return std::move(e);98612 | ~~~~~~~~~^~~98613src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98614src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98615src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98616 352 | return std::move(m);98617 | ~~~~~~~~~^~~98618src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98619src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98620src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98621 388 | return std::move(e);98622 | ~~~~~~~~~^~~98623src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98624src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98625src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98626 574 | return std::move(bitTestMatchExpression);98627 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98628src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call98629src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:98630src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]98631 595 | return std::move(bitTestMatchExpression);98632 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98633src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call98634src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:98635src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]98636 616 | return std::move(bitTestMatchExpression);98637 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98638src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call98639src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:98640src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]98641 637 | return std::move(bitTestMatchExpression);98642 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98643src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call98644In file included from src/mongo/db/pipeline/expression_context.h:44,98645 from src/mongo/db/matcher/extensions_callback.h:35,98646 from src/mongo/db/matcher/extensions_callback_noop.h:32,98647 from src/mongo/db/query/canonical_query.h:36,98648 from src/mongo/db/query/plan_cache.h:36,98649 from src/mongo/db/query/query_solution.h:40,98650 from src/mongo/db/query/plan_executor.h:36,98651 from src/mongo/db/clientcursor.h:40,98652 from src/mongo/db/cursor_manager.h:35,98653 from src/mongo/db/run_op_kill_cursors.cpp:38:98654src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98655src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98656 90 | return std::move(pipeline);98657 | ~~~~~~~~~^~~~~~~~~~98658src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98659src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:98660src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]98661 637 | return std::move(bitTestMatchExpression);98662 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98663src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call98664In file included from src/mongo/db/pipeline/expression_context.h:44,98665 from src/mongo/db/matcher/extensions_callback.h:35,98666 from src/mongo/db/matcher/extensions_callback_noop.h:32,98667 from src/mongo/db/query/canonical_query.h:36,98668 from src/mongo/db/query/plan_cache.h:36,98669 from src/mongo/db/query/query_solution.h:40,98670 from src/mongo/db/query/plan_executor.h:36,98671 from src/mongo/db/catalog/collection.h:48,98672 from src/mongo/db/pipeline/document_source_geo_near_cursor.h:39,98673 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:98674src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98675src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98676 90 | return std::move(pipeline);98677 | ~~~~~~~~~^~~~~~~~~~98678src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98679Compiling build/nixos/mongo/db/exec/plan_stage.o98680In file included from src/mongo/db/matcher/expression_parser.h:38,98681 from src/mongo/db/matcher/copyable_match_expression.h:32,98682 from src/mongo/db/query/projection_ast.h:33,98683 from src/mongo/db/query/projection.h:33,98684 from src/mongo/db/query/canonical_query.h:38,98685 from src/mongo/db/query/plan_cache.h:36,98686 from src/mongo/db/query/query_solution.h:40,98687 from src/mongo/db/query/plan_executor.h:36,98688 from src/mongo/db/catalog/collection.h:48,98689 from src/mongo/db/pipeline/document_source_geo_near_cursor.h:39,98690 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:98691src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98692src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98693 126 | return std::move(self);98694 | ~~~~~~~~~^~~~~~98695src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98696src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98697src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98698 155 | return std::move(self);98699 | ~~~~~~~~~^~~~~~98700src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98701src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98702src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98703 184 | return std::move(self);98704 | ~~~~~~~~~^~~~~~98705src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98706src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98707src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98708 202 | return std::move(self);98709 | ~~~~~~~~~^~~~~~98710src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98711In file included from src/mongo/db/matcher/expression_parser.h:39,98712 from src/mongo/db/matcher/copyable_match_expression.h:32,98713 from src/mongo/db/query/projection_ast.h:33,98714 from src/mongo/db/query/projection.h:33,98715 from src/mongo/db/query/canonical_query.h:38,98716 from src/mongo/db/query/plan_cache.h:36,98717 from src/mongo/db/query/query_solution.h:40,98718 from src/mongo/db/query/plan_executor.h:36,98719 from src/mongo/db/catalog/collection.h:48,98720 from src/mongo/db/pipeline/document_source_geo_near_cursor.h:39,98721 from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32:98722src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98723src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98724 196 | return std::move(expr);98725 | ~~~~~~~~~^~~~~~98726src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98727In file included from src/mongo/db/matcher/expression_text_base.h:32,98728 from src/mongo/db/matcher/extensions_callback.h:33,98729 from src/mongo/db/matcher/extensions_callback_noop.h:32,98730 from src/mongo/db/query/canonical_query.h:36,98731 from src/mongo/db/query/plan_cache.h:36,98732 from src/mongo/db/query/query_solution.h:40,98733 from src/mongo/db/query/plan_executor.h:36,98734 from src/mongo/db/catalog/collection.h:48,98735 from src/mongo/db/exec/requires_collection_stage.h:32,98736 from src/mongo/db/exec/requires_index_stage.h:32,98737 from src/mongo/db/exec/index_scan.h:32,98738 from src/mongo/db/exec/index_scan.cpp:34:98739src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98740src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98741 201 | return std::move(e);98742 | ~~~~~~~~~^~~98743src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98744src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98745src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98746 223 | return std::move(e);98747 | ~~~~~~~~~^~~98748src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98749In file included from src/mongo/db/matcher/expression_parser.h:38,98750 from src/mongo/db/matcher/copyable_match_expression.h:32,98751 from src/mongo/db/query/projection_ast.h:33,98752 from src/mongo/db/query/projection.h:33,98753 from src/mongo/db/query/canonical_query.h:38,98754 from src/mongo/db/query/plan_cache.h:36,98755 from src/mongo/db/query/query_solution.h:40,98756 from src/mongo/db/query/plan_executor.h:36,98757 from src/mongo/db/clientcursor.h:40,98758 from src/mongo/db/cursor_manager.h:35,98759 from src/mongo/db/run_op_kill_cursors.cpp:38:98760src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98761src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98762 126 | return std::move(self);98763 | ~~~~~~~~~^~~~~~98764src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98765src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98766src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98767 245 | return std::move(e);98768 | ~~~~~~~~~^~~98769src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98770src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98771src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98772 155 | return std::move(self);98773 | ~~~~~~~~~^~~~~~98774src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98775src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98776src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98777 184 | return std::move(self);98778 | ~~~~~~~~~^~~~~~98779src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98780src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98781src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98782 267 | return std::move(e);98783 | ~~~~~~~~~^~~98784src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98785src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98786src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98787 202 | return std::move(self);98788 | ~~~~~~~~~^~~~~~98789src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98790src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98791src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98792 289 | return std::move(e);98793 | ~~~~~~~~~^~~98794src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98795In file included from src/mongo/db/matcher/expression_parser.h:39,98796 from src/mongo/db/matcher/copyable_match_expression.h:32,98797 from src/mongo/db/query/projection_ast.h:33,98798 from src/mongo/db/query/projection.h:33,98799 from src/mongo/db/query/canonical_query.h:38,98800 from src/mongo/db/query/plan_cache.h:36,98801 from src/mongo/db/query/query_solution.h:40,98802 from src/mongo/db/query/plan_executor.h:36,98803 from src/mongo/db/clientcursor.h:40,98804 from src/mongo/db/cursor_manager.h:35,98805 from src/mongo/db/run_op_kill_cursors.cpp:38:98806src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98807src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98808 196 | return std::move(expr);98809 | ~~~~~~~~~^~~~~~98810src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98811src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98812src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98813 308 | return std::move(e);98814 | ~~~~~~~~~^~~98815src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98816src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98817src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98818 352 | return std::move(m);98819 | ~~~~~~~~~^~~98820src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98821src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98822src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98823 388 | return std::move(e);98824 | ~~~~~~~~~^~~98825src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98826src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98827src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98828 574 | return std::move(bitTestMatchExpression);98829 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98830src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call98831src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:98832src/mongo/db/matcher/expression_type.h:69:38: required from here98833src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98834 74 | return std::move(expr);98835 | ^98836src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98837src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:98838src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]98839 595 | return std::move(bitTestMatchExpression);98840 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98841src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call98842src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:98843src/mongo/db/matcher/expression_type.h:69:38: required from here98844src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98845src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98846src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:98847src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]98848 616 | return std::move(bitTestMatchExpression);98849 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98850src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call98851src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:98852src/mongo/db/matcher/expression_type.h:69:38: required from here98853src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]98854src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call98855src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:98856src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]98857 637 | return std::move(bitTestMatchExpression);98858 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98859src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call98860In file included from src/mongo/db/pipeline/expression_context.h:44,98861 from src/mongo/db/matcher/extensions_callback.h:35,98862 from src/mongo/db/matcher/extensions_callback_noop.h:32,98863 from src/mongo/db/query/canonical_query.h:36,98864 from src/mongo/db/query/plan_cache.h:36,98865 from src/mongo/db/query/query_solution.h:40,98866 from src/mongo/db/query/plan_executor.h:36,98867 from src/mongo/db/catalog/collection.h:48,98868 from src/mongo/db/exec/requires_collection_stage.h:32,98869 from src/mongo/db/exec/requires_index_stage.h:32,98870 from src/mongo/db/exec/index_scan.h:32,98871 from src/mongo/db/exec/index_scan.cpp:34:98872src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98873src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98874 90 | return std::move(pipeline);98875 | ~~~~~~~~~^~~~~~~~~~98876src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98877In file included from src/mongo/db/pipeline/expression_context.h:44,98878 from src/mongo/db/exec/plan_stage.h:37,98879 from src/mongo/db/exec/pipeline_proxy.h:35,98880 from src/mongo/db/exec/change_stream_proxy.h:32,98881 from src/mongo/db/exec/change_stream_proxy.cpp:32:98882src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98883src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98884 90 | return std::move(pipeline);98885 | ~~~~~~~~~^~~~~~~~~~98886src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98887Compiling build/nixos/mongo/db/query/stage_builder.o98888Generating library build/nixos/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a98889Skipping ranlib for thin archive build/nixos/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a98890Compiling build/nixos/mongo/db/exec/multi_plan.o98891In file included from src/mongo/db/matcher/expression_parser.h:38,98892 from src/mongo/db/matcher/copyable_match_expression.h:32,98893 from src/mongo/db/query/projection_ast.h:33,98894 from src/mongo/db/query/projection.h:33,98895 from src/mongo/db/query/canonical_query.h:38,98896 from src/mongo/db/query/plan_cache.h:36,98897 from src/mongo/db/query/query_solution.h:40,98898 from src/mongo/db/query/plan_executor.h:36,98899 from src/mongo/db/catalog/collection.h:48,98900 from src/mongo/db/exec/requires_collection_stage.h:32,98901 from src/mongo/db/exec/requires_index_stage.h:32,98902 from src/mongo/db/exec/index_scan.h:32,98903 from src/mongo/db/exec/index_scan.cpp:34:98904src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:98905src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]98906 126 | return std::move(self);98907 | ~~~~~~~~~^~~~~~98908src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call98909src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:98910src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]98911 155 | return std::move(self);98912 | ~~~~~~~~~^~~~~~98913src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call98914src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:98915src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]98916 184 | return std::move(self);98917 | ~~~~~~~~~^~~~~~98918src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call98919src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:98920src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]98921 202 | return std::move(self);98922 | ~~~~~~~~~^~~~~~98923src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call98924In file included from src/mongo/db/matcher/expression_parser.h:39,98925 from src/mongo/db/matcher/copyable_match_expression.h:32,98926 from src/mongo/db/query/projection_ast.h:33,98927 from src/mongo/db/query/projection.h:33,98928 from src/mongo/db/query/canonical_query.h:38,98929 from src/mongo/db/query/plan_cache.h:36,98930 from src/mongo/db/query/query_solution.h:40,98931 from src/mongo/db/query/plan_executor.h:36,98932 from src/mongo/db/catalog/collection.h:48,98933 from src/mongo/db/exec/requires_collection_stage.h:32,98934 from src/mongo/db/exec/requires_index_stage.h:32,98935 from src/mongo/db/exec/index_scan.h:32,98936 from src/mongo/db/exec/index_scan.cpp:34:98937src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:98938src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]98939 196 | return std::move(expr);98940 | ~~~~~~~~~^~~~~~98941src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call98942In file included from src/mongo/db/pipeline/expression_context.h:44,98943 from src/mongo/db/exec/plan_stage.h:37,98944 from src/mongo/db/exec/plan_stage.cpp:34:98945src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:98946src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]98947 90 | return std::move(pipeline);98948 | ~~~~~~~~~^~~~~~~~~~98949src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call98950In file included from src/mongo/db/matcher/expression_parser.h:37,98951 from src/mongo/db/pipeline/pipeline.h:40,98952 from src/mongo/db/exec/pipeline_proxy.h:37,98953 from src/mongo/db/exec/change_stream_proxy.h:32,98954 from src/mongo/db/exec/change_stream_proxy.cpp:32:98955src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:98956src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]98957 201 | return std::move(e);98958 | ~~~~~~~~~^~~98959src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call98960src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:98961src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]98962 223 | return std::move(e);98963 | ~~~~~~~~~^~~98964src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call98965src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:98966src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]98967 245 | return std::move(e);98968 | ~~~~~~~~~^~~98969src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call98970src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:98971src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]98972 267 | return std::move(e);98973 | ~~~~~~~~~^~~98974src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call98975src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:98976src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]98977 289 | return std::move(e);98978 | ~~~~~~~~~^~~98979src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call98980src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:98981src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]98982 308 | return std::move(e);98983 | ~~~~~~~~~^~~98984src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call98985src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:98986src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]98987 352 | return std::move(m);98988 | ~~~~~~~~~^~~98989src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call98990src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:98991src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]98992 388 | return std::move(e);98993 | ~~~~~~~~~^~~98994src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call98995src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:98996src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]98997 574 | return std::move(bitTestMatchExpression);98998 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~98999src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99000src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99001src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99002 595 | return std::move(bitTestMatchExpression);99003 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99004src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99005src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99006src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99007 616 | return std::move(bitTestMatchExpression);99008 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99009src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99010src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99011src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99012 637 | return std::move(bitTestMatchExpression);99013 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99014src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99015In file included from src/mongo/db/matcher/expression_parser.h:38,99016 from src/mongo/db/pipeline/pipeline.h:40,99017 from src/mongo/db/exec/pipeline_proxy.h:37,99018 from src/mongo/db/exec/change_stream_proxy.h:32,99019 from src/mongo/db/exec/change_stream_proxy.cpp:32:99020src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99021src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99022 126 | return std::move(self);99023 | ~~~~~~~~~^~~~~~99024src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99025src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99026src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99027 155 | return std::move(self);99028 | ~~~~~~~~~^~~~~~99029src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99030src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99031src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99032 184 | return std::move(self);99033 | ~~~~~~~~~^~~~~~99034src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99035src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99036src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99037 202 | return std::move(self);99038 | ~~~~~~~~~^~~~~~99039src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99040In file included from src/mongo/db/matcher/expression_parser.h:39,99041 from src/mongo/db/pipeline/pipeline.h:40,99042 from src/mongo/db/exec/pipeline_proxy.h:37,99043 from src/mongo/db/exec/change_stream_proxy.h:32,99044 from src/mongo/db/exec/change_stream_proxy.cpp:32:99045src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99046src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99047 196 | return std::move(expr);99048 | ~~~~~~~~~^~~~~~99049src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99050Compiling build/nixos/mongo/db/ops/single_write_result_gen.o99051Generating library build/nixos/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a99052Skipping ranlib for thin archive build/nixos/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a99053Compiling build/nixos/mongo/db/fts/ftsmongod.o99054Generating library build/nixos/mongo/db/storage/libflow_control_parameters.a99055Skipping ranlib for thin archive build/nixos/mongo/db/storage/libflow_control_parameters.a99056Generating library build/nixos/mongo/db/index/libindex_build_interceptor.a99057Skipping ranlib for thin archive build/nixos/mongo/db/index/libindex_build_interceptor.a99058Generating library build/nixos/mongo/db/storage/libstorage_repair_observer.a99059Skipping ranlib for thin archive build/nixos/mongo/db/storage/libstorage_repair_observer.a99060Compiling build/nixos/mongo/db/service_entry_point_common.o99061Generating library build/nixos/mongo/db/catalog/libindex_build_block.a99062Skipping ranlib for thin archive build/nixos/mongo/db/catalog/libindex_build_block.a99063Compiling build/nixos/mongo/db/index_build_entry_helpers.o99064In file included from src/mongo/db/pipeline/expression_context.h:44,99065 from src/mongo/db/exec/plan_stage.h:37,99066 from src/mongo/db/query/stage_builder.h:32,99067 from src/mongo/db/query/stage_builder.cpp:34:99068src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:99069src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]99070 90 | return std::move(pipeline);99071 | ~~~~~~~~~^~~~~~~~~~99072src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call99073Generating library build/nixos/mongo/db/repl/libinitial_sync_cloners.a99074Skipping ranlib for thin archive build/nixos/mongo/db/repl/libinitial_sync_cloners.a99075Generating library build/nixos/mongo/db/catalog/libcollection_query_info.a99076Skipping ranlib for thin archive build/nixos/mongo/db/catalog/libcollection_query_info.a99077Generating library build/nixos/mongo/db/storage/libstorage_engine_lock_file.a99078Skipping ranlib for thin archive build/nixos/mongo/db/storage/libstorage_engine_lock_file.a99079Compiling build/nixos/mongo/db/repl/reporter.o99080src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99081src/mongo/db/matcher/expression_type.h:69:38: required from here99082src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99083 74 | return std::move(expr);99084 | ^99085src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99086src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99087src/mongo/db/matcher/expression_type.h:69:38: required from here99088src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99089src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99090src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99091src/mongo/db/matcher/expression_type.h:69:38: required from here99092src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99093src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99094In file included from src/mongo/db/matcher/expression_text_base.h:32,99095 from src/mongo/db/matcher/extensions_callback.h:33,99096 from src/mongo/db/matcher/extensions_callback_noop.h:32,99097 from src/mongo/db/query/canonical_query.h:36,99098 from src/mongo/db/query/plan_cache.h:36,99099 from src/mongo/db/query/query_solution.h:40,99100 from src/mongo/db/query/plan_executor.h:36,99101 from src/mongo/db/catalog/collection.h:48,99102 from src/mongo/db/exec/multi_plan.h:33,99103 from src/mongo/db/exec/multi_plan.cpp:34:99104src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:99105src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]99106 201 | return std::move(e);99107 | ~~~~~~~~~^~~99108src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call99109src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:99110src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]99111 223 | return std::move(e);99112 | ~~~~~~~~~^~~99113src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call99114src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:99115src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]99116 245 | return std::move(e);99117 | ~~~~~~~~~^~~99118src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call99119src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:99120src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]99121 267 | return std::move(e);99122 | ~~~~~~~~~^~~99123src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call99124src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:99125src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]99126 289 | return std::move(e);99127 | ~~~~~~~~~^~~99128src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call99129src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:99130src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]99131 308 | return std::move(e);99132 | ~~~~~~~~~^~~99133src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call99134src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:99135src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]99136 352 | return std::move(m);99137 | ~~~~~~~~~^~~99138src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call99139src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:99140src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]99141 388 | return std::move(e);99142 | ~~~~~~~~~^~~99143src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call99144src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:99145src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]99146 574 | return std::move(bitTestMatchExpression);99147 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99148src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99149src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99150src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99151 595 | return std::move(bitTestMatchExpression);99152 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99153src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99154src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99155src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99156 616 | return std::move(bitTestMatchExpression);99157 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99158src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99159src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99160src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99161 637 | return std::move(bitTestMatchExpression);99162 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99163src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99164In file included from src/mongo/db/pipeline/expression_context.h:44,99165 from src/mongo/db/matcher/extensions_callback.h:35,99166 from src/mongo/db/matcher/extensions_callback_noop.h:32,99167 from src/mongo/db/query/canonical_query.h:36,99168 from src/mongo/db/query/plan_cache.h:36,99169 from src/mongo/db/query/query_solution.h:40,99170 from src/mongo/db/query/plan_executor.h:36,99171 from src/mongo/db/catalog/collection.h:48,99172 from src/mongo/db/exec/multi_plan.h:33,99173 from src/mongo/db/exec/multi_plan.cpp:34:99174src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:99175src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]99176 90 | return std::move(pipeline);99177 | ~~~~~~~~~^~~~~~~~~~99178src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call99179Generating library build/nixos/mongo/db/s/libsharding_logging.a99180Skipping ranlib for thin archive build/nixos/mongo/db/s/libsharding_logging.a99181Generating library build/nixos/mongo/db/s/libsessions_collection_config_server.a99182Skipping ranlib for thin archive build/nixos/mongo/db/s/libsessions_collection_config_server.a99183Generating library build/nixos/mongo/db/fts/libftsmongod.a99184Skipping ranlib for thin archive build/nixos/mongo/db/fts/libftsmongod.a99185In file included from src/mongo/db/matcher/expression_parser.h:38,99186 from src/mongo/db/matcher/copyable_match_expression.h:32,99187 from src/mongo/db/query/projection_ast.h:33,99188 from src/mongo/db/query/projection.h:33,99189 from src/mongo/db/query/canonical_query.h:38,99190 from src/mongo/db/query/plan_cache.h:36,99191 from src/mongo/db/query/query_solution.h:40,99192 from src/mongo/db/query/plan_executor.h:36,99193 from src/mongo/db/catalog/collection.h:48,99194 from src/mongo/db/exec/multi_plan.h:33,99195 from src/mongo/db/exec/multi_plan.cpp:34:99196src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99197src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99198 126 | return std::move(self);99199 | ~~~~~~~~~^~~~~~99200src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99201src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99202src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99203 155 | return std::move(self);99204 | ~~~~~~~~~^~~~~~99205src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99206In file included from src/mongo/db/matcher/expression_text_base.h:32,99207 from src/mongo/db/matcher/extensions_callback.h:33,99208 from src/mongo/db/matcher/extensions_callback_noop.h:32,99209 from src/mongo/db/query/canonical_query.h:36,99210 from src/mongo/db/query/plan_cache.h:36,99211 from src/mongo/db/query/query_solution.h:40,99212 from src/mongo/db/query/stage_builder.h:34,99213 from src/mongo/db/query/stage_builder.cpp:34:99214src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:99215src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]99216 201 | return std::move(e);99217 | ~~~~~~~~~^~~99218src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call99219src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:99220src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]99221 223 | return std::move(e);99222 | ~~~~~~~~~^~~99223src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call99224src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99225src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99226 184 | return std::move(self);99227 | ~~~~~~~~~^~~~~~99228src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99229src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:99230src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]99231 245 | return std::move(e);99232 | ~~~~~~~~~^~~99233src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call99234src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:99235src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]99236 267 | return std::move(e);99237 | ~~~~~~~~~^~~99238src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call99239src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:99240src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]99241 289 | return std::move(e);99242 | ~~~~~~~~~^~~99243src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call99244src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99245src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99246 202 | return std::move(self);99247 | ~~~~~~~~~^~~~~~99248src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99249src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:99250src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]99251 308 | return std::move(e);99252 | ~~~~~~~~~^~~99253src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call99254src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:99255src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]99256 352 | return std::move(m);99257 | ~~~~~~~~~^~~99258src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call99259src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:99260src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]99261 388 | return std::move(e);99262 | ~~~~~~~~~^~~99263src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call99264src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:99265src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]99266 574 | return std::move(bitTestMatchExpression);99267 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99268src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99269src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99270src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99271 595 | return std::move(bitTestMatchExpression);99272 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99273src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99274src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99275src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99276 616 | return std::move(bitTestMatchExpression);99277 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99278src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99279src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99280src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99281 637 | return std::move(bitTestMatchExpression);99282 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99283src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99284In file included from src/mongo/db/matcher/expression_parser.h:39,99285 from src/mongo/db/matcher/copyable_match_expression.h:32,99286 from src/mongo/db/query/projection_ast.h:33,99287 from src/mongo/db/query/projection.h:33,99288 from src/mongo/db/query/canonical_query.h:38,99289 from src/mongo/db/query/plan_cache.h:36,99290 from src/mongo/db/query/query_solution.h:40,99291 from src/mongo/db/query/plan_executor.h:36,99292 from src/mongo/db/catalog/collection.h:48,99293 from src/mongo/db/exec/multi_plan.h:33,99294 from src/mongo/db/exec/multi_plan.cpp:34:99295src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99296src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99297 196 | return std::move(expr);99298 | ~~~~~~~~~^~~~~~99299src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99300In file included from src/mongo/db/matcher/expression_parser.h:38,99301 from src/mongo/db/matcher/copyable_match_expression.h:32,99302 from src/mongo/db/query/projection_ast.h:33,99303 from src/mongo/db/query/projection.h:33,99304 from src/mongo/db/query/canonical_query.h:38,99305 from src/mongo/db/query/plan_cache.h:36,99306 from src/mongo/db/query/query_solution.h:40,99307 from src/mongo/db/query/stage_builder.h:34,99308 from src/mongo/db/query/stage_builder.cpp:34:99309src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99310src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99311 126 | return std::move(self);99312 | ~~~~~~~~~^~~~~~99313src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99314src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99315src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99316 155 | return std::move(self);99317 | ~~~~~~~~~^~~~~~99318src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99319src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99320src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99321 184 | return std::move(self);99322 | ~~~~~~~~~^~~~~~99323src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99324src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99325src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99326 202 | return std::move(self);99327 | ~~~~~~~~~^~~~~~99328src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99329In file included from src/mongo/db/matcher/expression_parser.h:39,99330 from src/mongo/db/matcher/copyable_match_expression.h:32,99331 from src/mongo/db/query/projection_ast.h:33,99332 from src/mongo/db/query/projection.h:33,99333 from src/mongo/db/query/canonical_query.h:38,99334 from src/mongo/db/query/plan_cache.h:36,99335 from src/mongo/db/query/query_solution.h:40,99336 from src/mongo/db/query/stage_builder.h:34,99337 from src/mongo/db/query/stage_builder.cpp:34:99338src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99339src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99340 196 | return std::move(expr);99341 | ~~~~~~~~~^~~~~~99342src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99343src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99344src/mongo/db/matcher/expression_type.h:69:38: required from here99345src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99346 74 | return std::move(expr);99347 | ^99348src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99349src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99350src/mongo/db/matcher/expression_type.h:69:38: required from here99351src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99352src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99353In file included from src/mongo/db/pipeline/expression_context.h:44,99354 from src/mongo/db/exec/plan_stage.h:37,99355 from src/mongo/db/query/explain.h:32,99356 from src/mongo/db/commands.h:47,99357 from build/nixos/mongo/db/ops/single_write_result_gen.cpp:16:99358src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:99359src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]99360 90 | return std::move(pipeline);99361 | ~~~~~~~~~^~~~~~~~~~99362src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call99363src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99364src/mongo/db/matcher/expression_type.h:69:38: required from here99365src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99366src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99367src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99368src/mongo/db/matcher/expression_type.h:69:38: required from here99369src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99370 74 | return std::move(expr);99371 | ^99372src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99373src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99374src/mongo/db/matcher/expression_type.h:69:38: required from here99375src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99376src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99377src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99378src/mongo/db/matcher/expression_type.h:69:38: required from here99379src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99380src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99381In file included from src/mongo/db/matcher/expression_text_base.h:32,99382 from src/mongo/db/matcher/extensions_callback.h:33,99383 from src/mongo/db/matcher/extensions_callback_noop.h:32,99384 from src/mongo/db/query/canonical_query.h:36,99385 from src/mongo/db/query/explain.h:34,99386 from src/mongo/db/commands.h:47,99387 from build/nixos/mongo/db/ops/single_write_result_gen.cpp:16:99388src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:99389src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]99390 201 | return std::move(e);99391 | ~~~~~~~~~^~~99392src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call99393src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:99394src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]99395 223 | return std::move(e);99396 | ~~~~~~~~~^~~99397src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call99398src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:99399src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]99400 245 | return std::move(e);99401 | ~~~~~~~~~^~~99402src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call99403src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:99404src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]99405 267 | return std::move(e);99406 | ~~~~~~~~~^~~99407src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call99408src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:99409src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]99410 289 | return std::move(e);99411 | ~~~~~~~~~^~~99412src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call99413src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:99414src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]99415 308 | return std::move(e);99416 | ~~~~~~~~~^~~99417src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call99418src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99419src/mongo/db/matcher/expression_type.h:69:38: required from here99420src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99421 74 | return std::move(expr);99422 | ^99423src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99424src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99425src/mongo/db/matcher/expression_type.h:69:38: required from here99426src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99427src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99428src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99429src/mongo/db/matcher/expression_type.h:69:38: required from here99430src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99431src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99432src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:99433src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]99434 352 | return std::move(m);99435 | ~~~~~~~~~^~~99436src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call99437src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:99438src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]99439 388 | return std::move(e);99440 | ~~~~~~~~~^~~99441src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call99442src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:99443src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]99444 574 | return std::move(bitTestMatchExpression);99445 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99446src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99447src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99448src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99449 595 | return std::move(bitTestMatchExpression);99450 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99451src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99452src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99453src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99454 616 | return std::move(bitTestMatchExpression);99455 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99456src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99457src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99458src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99459 637 | return std::move(bitTestMatchExpression);99460 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99461src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99462In file included from src/mongo/db/matcher/expression_parser.h:38,99463 from src/mongo/db/matcher/copyable_match_expression.h:32,99464 from src/mongo/db/query/projection_ast.h:33,99465 from src/mongo/db/query/projection.h:33,99466 from src/mongo/db/query/canonical_query.h:38,99467 from src/mongo/db/query/explain.h:34,99468 from src/mongo/db/commands.h:47,99469 from build/nixos/mongo/db/ops/single_write_result_gen.cpp:16:99470src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99471src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99472 126 | return std::move(self);99473 | ~~~~~~~~~^~~~~~99474src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99475src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99476src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99477 155 | return std::move(self);99478 | ~~~~~~~~~^~~~~~99479src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99480src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99481src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99482 184 | return std::move(self);99483 | ~~~~~~~~~^~~~~~99484src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99485src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99486src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99487 202 | return std::move(self);99488 | ~~~~~~~~~^~~~~~99489src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99490In file included from src/mongo/db/matcher/expression_parser.h:39,99491 from src/mongo/db/matcher/copyable_match_expression.h:32,99492 from src/mongo/db/query/projection_ast.h:33,99493 from src/mongo/db/query/projection.h:33,99494 from src/mongo/db/query/canonical_query.h:38,99495 from src/mongo/db/query/explain.h:34,99496 from src/mongo/db/commands.h:47,99497 from build/nixos/mongo/db/ops/single_write_result_gen.cpp:16:99498src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99499src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99500 196 | return std::move(expr);99501 | ~~~~~~~~~^~~~~~99502src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99503In file included from src/mongo/db/matcher/expression_text_base.h:32,99504 from src/mongo/db/matcher/extensions_callback.h:33,99505 from src/mongo/db/matcher/extensions_callback_noop.h:32,99506 from src/mongo/db/query/canonical_query.h:36,99507 from src/mongo/db/query/plan_cache.h:36,99508 from src/mongo/db/query/query_solution.h:40,99509 from src/mongo/db/query/plan_executor.h:36,99510 from src/mongo/db/catalog/collection.h:48,99511 from src/mongo/db/catalog/database.h:38,99512 from src/mongo/db/index_build_entry_helpers.cpp:37:99513src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:99514src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]99515 201 | return std::move(e);99516 | ~~~~~~~~~^~~99517src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call99518src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:99519src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]99520 223 | return std::move(e);99521 | ~~~~~~~~~^~~99522src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call99523src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:99524src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]99525 245 | return std::move(e);99526 | ~~~~~~~~~^~~99527src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call99528src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:99529src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]99530 267 | return std::move(e);99531 | ~~~~~~~~~^~~99532src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call99533src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:99534src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]99535 289 | return std::move(e);99536 | ~~~~~~~~~^~~99537src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call99538src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:99539src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]99540 308 | return std::move(e);99541 | ~~~~~~~~~^~~99542src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call99543src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:99544src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]99545 352 | return std::move(m);99546 | ~~~~~~~~~^~~99547src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call99548src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:99549src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]99550 388 | return std::move(e);99551 | ~~~~~~~~~^~~99552src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call99553src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:99554src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]99555 574 | return std::move(bitTestMatchExpression);99556 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99557src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99558src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99559src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99560 595 | return std::move(bitTestMatchExpression);99561 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99562src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99563In file included from src/mongo/db/pipeline/expression_context.h:44,99564 from src/mongo/db/exec/plan_stage.h:37,99565 from src/mongo/db/query/explain.h:32,99566 from src/mongo/db/commands.h:47,99567 from src/mongo/db/service_entry_point_common.h:33,99568 from src/mongo/db/service_entry_point_common.cpp:34:99569src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:99570src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]99571 90 | return std::move(pipeline);99572 | ~~~~~~~~~^~~~~~~~~~99573src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call99574src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99575src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99576 616 | return std::move(bitTestMatchExpression);99577 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99578src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99579src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99580src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99581 637 | return std::move(bitTestMatchExpression);99582 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99583src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99584src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99585src/mongo/db/matcher/expression_type.h:69:38: required from here99586src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99587 74 | return std::move(expr);99588 | ^99589src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99590src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99591src/mongo/db/matcher/expression_type.h:69:38: required from here99592src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99593src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99594src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99595src/mongo/db/matcher/expression_type.h:69:38: required from here99596src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99597src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99598In file included from src/mongo/db/pipeline/expression_context.h:44,99599 from src/mongo/db/matcher/extensions_callback.h:35,99600 from src/mongo/db/matcher/extensions_callback_noop.h:32,99601 from src/mongo/db/query/canonical_query.h:36,99602 from src/mongo/db/query/plan_cache.h:36,99603 from src/mongo/db/query/query_solution.h:40,99604 from src/mongo/db/query/plan_executor.h:36,99605 from src/mongo/db/catalog/collection.h:48,99606 from src/mongo/db/catalog/database.h:38,99607 from src/mongo/db/index_build_entry_helpers.cpp:37:99608src/mongo/db/pipeline/aggregation_request.h: In static member function ‘static mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)’:99609src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move]99610 90 | return std::move(pipeline);99611 | ~~~~~~~~~^~~~~~~~~~99612src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove ‘std::move’ call99613In file included from src/mongo/db/matcher/expression_text_base.h:32,99614 from src/mongo/db/matcher/extensions_callback.h:33,99615 from src/mongo/db/matcher/extensions_callback_noop.h:32,99616 from src/mongo/db/query/canonical_query.h:36,99617 from src/mongo/db/query/explain.h:34,99618 from src/mongo/db/commands.h:47,99619 from src/mongo/db/service_entry_point_common.h:33,99620 from src/mongo/db/service_entry_point_common.cpp:34:99621src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’:99622src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move]99623 201 | return std::move(e);99624 | ~~~~~~~~~^~~99625src/mongo/db/matcher/expression_leaf.h:201:25: note: remove ‘std::move’ call99626src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’:99627src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move]99628 223 | return std::move(e);99629 | ~~~~~~~~~^~~99630src/mongo/db/matcher/expression_leaf.h:223:25: note: remove ‘std::move’ call99631src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’:99632src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move]99633 245 | return std::move(e);99634 | ~~~~~~~~~^~~99635src/mongo/db/matcher/expression_leaf.h:245:25: note: remove ‘std::move’ call99636src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’:99637src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move]99638 267 | return std::move(e);99639 | ~~~~~~~~~^~~99640src/mongo/db/matcher/expression_leaf.h:267:25: note: remove ‘std::move’ call99641src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’:99642src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move]99643 289 | return std::move(e);99644 | ~~~~~~~~~^~~99645src/mongo/db/matcher/expression_leaf.h:289:25: note: remove ‘std::move’ call99646src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’:99647src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move]99648 308 | return std::move(e);99649 | ~~~~~~~~~^~~99650src/mongo/db/matcher/expression_leaf.h:308:25: note: remove ‘std::move’ call99651src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’:99652src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move]99653 352 | return std::move(m);99654 | ~~~~~~~~~^~~99655src/mongo/db/matcher/expression_leaf.h:352:25: note: remove ‘std::move’ call99656src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’:99657src/mongo/db/matcher/expression_leaf.h:388:25: warning: redundant move in return statement [-Wredundant-move]99658 388 | return std::move(e);99659 | ~~~~~~~~~^~~99660src/mongo/db/matcher/expression_leaf.h:388:25: note: remove ‘std::move’ call99661src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’:99662src/mongo/db/matcher/expression_leaf.h:574:25: warning: redundant move in return statement [-Wredundant-move]99663 574 | return std::move(bitTestMatchExpression);99664 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99665src/mongo/db/matcher/expression_leaf.h:574:25: note: remove ‘std::move’ call99666src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’:99667src/mongo/db/matcher/expression_leaf.h:595:25: warning: redundant move in return statement [-Wredundant-move]99668 595 | return std::move(bitTestMatchExpression);99669 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99670src/mongo/db/matcher/expression_leaf.h:595:25: note: remove ‘std::move’ call99671src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’:99672src/mongo/db/matcher/expression_leaf.h:616:25: warning: redundant move in return statement [-Wredundant-move]99673 616 | return std::move(bitTestMatchExpression);99674 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99675src/mongo/db/matcher/expression_leaf.h:616:25: note: remove ‘std::move’ call99676src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’:99677src/mongo/db/matcher/expression_leaf.h:637:25: warning: redundant move in return statement [-Wredundant-move]99678 637 | return std::move(bitTestMatchExpression);99679 | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~99680src/mongo/db/matcher/expression_leaf.h:637:25: note: remove ‘std::move’ call99681In file included from src/mongo/db/matcher/expression_parser.h:38,99682 from src/mongo/db/matcher/copyable_match_expression.h:32,99683 from src/mongo/db/query/projection_ast.h:33,99684 from src/mongo/db/query/projection.h:33,99685 from src/mongo/db/query/canonical_query.h:38,99686 from src/mongo/db/query/explain.h:34,99687 from src/mongo/db/commands.h:47,99688 from src/mongo/db/service_entry_point_common.h:33,99689 from src/mongo/db/service_entry_point_common.cpp:34:99690src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99691src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99692 126 | return std::move(self);99693 | ~~~~~~~~~^~~~~~99694src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99695src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99696src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99697 155 | return std::move(self);99698 | ~~~~~~~~~^~~~~~99699src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99700src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99701src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99702 184 | return std::move(self);99703 | ~~~~~~~~~^~~~~~99704src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99705src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99706src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99707 202 | return std::move(self);99708 | ~~~~~~~~~^~~~~~99709src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99710In file included from src/mongo/db/matcher/expression_parser.h:39,99711 from src/mongo/db/matcher/copyable_match_expression.h:32,99712 from src/mongo/db/query/projection_ast.h:33,99713 from src/mongo/db/query/projection.h:33,99714 from src/mongo/db/query/canonical_query.h:38,99715 from src/mongo/db/query/explain.h:34,99716 from src/mongo/db/commands.h:47,99717 from src/mongo/db/service_entry_point_common.h:33,99718 from src/mongo/db/service_entry_point_common.cpp:34:99719src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99720src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99721 196 | return std::move(expr);99722 | ~~~~~~~~~^~~~~~99723src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99724In file included from src/mongo/db/matcher/expression_parser.h:38,99725 from src/mongo/db/matcher/copyable_match_expression.h:32,99726 from src/mongo/db/query/projection_ast.h:33,99727 from src/mongo/db/query/projection.h:33,99728 from src/mongo/db/query/canonical_query.h:38,99729 from src/mongo/db/query/plan_cache.h:36,99730 from src/mongo/db/query/query_solution.h:40,99731 from src/mongo/db/query/plan_executor.h:36,99732 from src/mongo/db/catalog/collection.h:48,99733 from src/mongo/db/catalog/database.h:38,99734 from src/mongo/db/index_build_entry_helpers.cpp:37:99735src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’:99736src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move]99737 126 | return std::move(self);99738 | ~~~~~~~~~^~~~~~99739src/mongo/db/matcher/expression_tree.h:126:25: note: remove ‘std::move’ call99740src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’:99741src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move]99742 155 | return std::move(self);99743 | ~~~~~~~~~^~~~~~99744src/mongo/db/matcher/expression_tree.h:155:25: note: remove ‘std::move’ call99745src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’:99746src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move]99747 184 | return std::move(self);99748 | ~~~~~~~~~^~~~~~99749src/mongo/db/matcher/expression_tree.h:184:25: note: remove ‘std::move’ call99750src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’:99751src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move]99752 202 | return std::move(self);99753 | ~~~~~~~~~^~~~~~99754src/mongo/db/matcher/expression_tree.h:202:25: note: remove ‘std::move’ call99755In file included from src/mongo/db/matcher/expression_parser.h:39,99756 from src/mongo/db/matcher/copyable_match_expression.h:32,99757 from src/mongo/db/query/projection_ast.h:33,99758 from src/mongo/db/query/projection.h:33,99759 from src/mongo/db/query/canonical_query.h:38,99760 from src/mongo/db/query/plan_cache.h:36,99761 from src/mongo/db/query/query_solution.h:40,99762 from src/mongo/db/query/plan_executor.h:36,99763 from src/mongo/db/catalog/collection.h:48,99764 from src/mongo/db/catalog/database.h:38,99765 from src/mongo/db/index_build_entry_helpers.cpp:37:99766src/mongo/db/matcher/expression_type.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const’:99767src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move]99768 196 | return std::move(expr);99769 | ~~~~~~~~~^~~~~~99770src/mongo/db/matcher/expression_type.h:196:25: note: remove ‘std::move’ call99771Generating library build/nixos/mongo/db/s/libsharding_runtime_d.a99772Skipping ranlib for thin archive build/nixos/mongo/db/s/libsharding_runtime_d.a99773src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99774src/mongo/db/matcher/expression_type.h:69:38: required from here99775src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99776 74 | return std::move(expr);99777 | ^99778src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99779src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99780src/mongo/db/matcher/expression_type.h:69:38: required from here99781src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99782src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99783src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99784src/mongo/db/matcher/expression_type.h:69:38: required from here99785src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99786src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99787src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99788src/mongo/db/matcher/expression_type.h:69:38: required from here99789src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99790 74 | return std::move(expr);99791 | ^99792src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99793src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99794src/mongo/db/matcher/expression_type.h:69:38: required from here99795src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99796src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99797Generating library build/nixos/mongo/db/catalog/libcollection_validation.a99798src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99799src/mongo/db/matcher/expression_type.h:69:38: required from here99800src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99801src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99802Skipping ranlib for thin archive build/nixos/mongo/db/catalog/libcollection_validation.a99803src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99804src/mongo/db/matcher/expression_type.h:69:38: required from here99805src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99806 74 | return std::move(expr);99807 | ^99808src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99809src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99810src/mongo/db/matcher/expression_type.h:69:38: required from here99811src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99812src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99813src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99814src/mongo/db/matcher/expression_type.h:69:38: required from here99815src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99816src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99817Generating library build/nixos/mongo/db/repl/libreporter.a99818Skipping ranlib for thin archive build/nixos/mongo/db/repl/libreporter.a99819Generating library build/nixos/mongo/db/libwrite_ops.a99820Skipping ranlib for thin archive build/nixos/mongo/db/libwrite_ops.a99821src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99822src/mongo/db/matcher/expression_type.h:69:38: required from here99823src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99824 74 | return std::move(expr);99825 | ^99826src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99827src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99828src/mongo/db/matcher/expression_type.h:69:38: required from here99829src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99830src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99831src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99832src/mongo/db/matcher/expression_type.h:69:38: required from here99833src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99834src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99835src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:99836src/mongo/db/matcher/expression_type.h:69:38: required from here99837src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99838 74 | return std::move(expr);99839 | ^99840src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99841src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:99842src/mongo/db/matcher/expression_type.h:69:38: required from here99843src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99844src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99845src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:99846src/mongo/db/matcher/expression_type.h:69:38: required from here99847src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]99848src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call99849Generating library build/nixos/mongo/db/libquery_exec.a99850Skipping ranlib for thin archive build/nixos/mongo/db/libquery_exec.a99851Generating library build/nixos/mongo/db/libindex_build_entry_helpers.a99852Skipping ranlib for thin archive build/nixos/mongo/db/libindex_build_entry_helpers.a99853Generating library build/nixos/mongo/db/libservice_entry_point_common.a99854Skipping ranlib for thin archive build/nixos/mongo/db/libservice_entry_point_common.a99855Linking build/nixos/mongo/mongod99856Install file: "build/nixos/mongo/mongod" as "/nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/bin/mongod"99857scons: done building targets.99858buildPhase completed in 2 hours 28 minutes 28 seconds99859installing99860install flags: --release --ssl --wiredtiger=on --js-engine=mozjs --use-sasl-client --disable-warnings-as-errors VARIANT_DIR=nixos --link-model=static --use-system-boost --use-system-pcre --use-system-snappy --use-system-yaml --use-system-zlib --use-system-tcmalloc CC=gcc CXX=g++ CCFLAGS=\'-march=armv8-a+crc\' DESTDIR=/nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13 install-core99861scons: Reading SConscript files ...99862scons: running with args /nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python /nix/store/d15vzrilm9kyj1i7hc0g7b54gsy75f9r-scons-3.1.2/bin/scons --release --ssl --wiredtiger=on --js-engine=mozjs --use-sasl-client --disable-warnings-as-errors VARIANT_DIR=nixos --link-model=static --use-system-boost --use-system-pcre --use-system-snappy --use-system-yaml --use-system-zlib --use-system-tcmalloc CC=gcc CXX=g++ CCFLAGS='-march=armv8-a+crc' DESTDIR=/nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13 install-core99863scons version: 3.1.299864python version: 3 10 9 'final' 099865CC is gcc99866gcc found in $PATH at /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/gcc99867CXX is g++99868g++ found in $PATH at /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/g++99869Checking whether the C compiler works... (cached) yes99870Checking whether the C++ compiler works... (cached) yes99871Checking that the C++ compiler can link a C++ program... (cached) yes99872Checking if C++ compiler "g++" is GCC... (cached) yes99873Checking if C compiler "gcc" is GCC... (cached) yes99874Detected a aarch64 processor99875Checking if target OS linux is supported by the toolchain... (cached) yes99876Checking if C compiler is GCC 8.2 or newer...(cached) yes99877Checking if C++ compiler is GCC 8.2 or newer...(cached) yes99878Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes99879Checking if C compiler supports -Wno-unused-function... (cached) yes99880Checking if C compiler supports -Wno-unused-private-field... (cached) no99881Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes99882Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no99883Checking if C compiler supports -Wno-tautological-constant-compare... (cached) no99884Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... (cached) no99885Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... (cached) no99886Checking if C compiler supports -Wno-unused-const-variable... (cached) yes99887Checking if C compiler supports -Wno-unused-but-set-variable... (cached) yes99888Checking if C compiler supports -Wno-missing-braces... (cached) yes99889Checking if C compiler supports -Wno-inconsistent-missing-override... (cached) no99890Checking if C compiler supports -Wno-potentially-evaluated-expression... (cached) no99891Checking if C++ compiler supports -Wpessimizing-move... (cached) yes99892Checking if C++ compiler supports -Wredundant-move... (cached) yes99893Checking if C++ compiler supports -Wno-maybe-uninitialized... (cached) yes99894Checking if C++ compiler supports -Wno-undefined-var-template... (cached) no99895Checking if C++ compiler supports -Wno-instantiation-after-specialization... (cached) no99896Checking if C compiler supports -Wno-unused-lambda-capture... (cached) no99897Checking if C compiler supports -Wno-exceptions... (cached) no99898Checking if C++ compiler supports -fsized-deallocation... (cached) yes99899Checking if C++ compiler supports -Wno-defaulted-function-deleted... (cached) no99900Checking if C++ compiler supports -Wunused-exception-parameter... (cached) no99901Checking -Wnon-virtual-dtor for false positives... (cached) no99902Checking if C compiler supports -fstack-protector-strong... (cached) yes99903Checking if we are using libstdc++... (cached) yes99904Checking if C++ compiler supports -std=c++17... (cached) yes99905Checking if C compiler supports -std=c11... (cached) yes99906WARNING: System versions of C++ libraries must be compiled with C++14/17 support99907Checking for C++17... (cached) yes99908Checking for memset_s... (cached) no99909Checking for C function strnlen()... (cached) yes99910Checking for libstdc++ 5.3.0 or better... (cached) yes99911Checking if we are on a POSIX system... (cached) yes99912Checking if the POSIX monotonic clock is supported... (cached) yes99913Checking off_t is 8 bytes... (cached) yes99914Checking if linker supports -fuse-ld=lld... (cached) no99915Checking if linker supports -fuse-ld=gold... (cached) yes99916Checking if linker supports -Wl,--no-threads... (cached) yes99917Checking if linker supports -Wl,--build-id... (cached) yes99918Checking if linker supports -Wl,--hash-style=gnu... (cached) yes99919Checking if linker supports -Wl,-z,noexecstack... (cached) yes99920Checking if linker supports -Wl,--warn-execstack... (cached) yes99921Checking if linker supports -Wl,-z,relro... (cached) yes99922Checking for glibc with non-broken _FORTIFY_SOURCE...(cached) yes99923Checking for storage class thread_local (cached) yes99924Checking for C++14 std::enable_if_t support...(cached) yes99925Checking if pthread_setname_np is supported... (cached) yes99926Checking for SSLeay_version(0) in C library crypto... (cached) yes99927Checking for SSL_version(NULL) in C library ssl... (cached) yes99928Checking that linking to OpenSSL works...(cached) yes99929Checking whether FIPS_mode_set is declared... (cached) no99930Checking whether d2i_ASN1_SEQUENCE_ANY is declared... (cached) yes99931Checking if SSL_[CTX_]_set_ecdh_auto is supported... (cached) yes99932Checking if EC_KEY_new_by_curve_name is supported... (cached) yes99933Using SSL Provider: openssl99934Checking for C library pcre... (cached) yes99935Checking for C library pcrecpp... (cached) yes99936Checking for C library snappy... (cached) yes99937Checking for C library z... (cached) yes99938Checking for C library yaml-cpp... (cached) yes99939Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes99940Checking if system boost version is 1.49 or newer...(cached) yes99941Checking for C++ library boost_filesystem-mt... (cached) no99942Checking for C++ library boost_filesystem... (cached) yes99943Checking for C++ library boost_program_options-mt... (cached) no99944Checking for C++ library boost_program_options... (cached) yes99945Checking for C++ library boost_system-mt... (cached) no99946Checking for C++ library boost_system... (cached) yes99947Checking for C++ library boost_iostreams-mt... (cached) no99948Checking for C++ library boost_iostreams... (cached) yes99949Checking for C++ library boost_thread-mt... (cached) no99950Checking for C++ library boost_thread... (cached) yes99951Checking for C++ library boost_log-mt... (cached) no99952Checking for C++ library boost_log... (cached) yes99953Checking for C library rt... (cached) yes99954Checking for C library dl... (cached) yes99955Checking for C++ header file execinfo.h... (cached) yes99956Checking whether backtrace is declared... (cached) yes99957Checking whether backtrace_symbols is declared... (cached) yes99958Checking whether backtrace_symbols_fd is declared... (cached) yes99959Checking for C library pcap... (cached) yes99960Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... (cached) yes99961Checking for C library tcmalloc... (cached) yes99962Checking if std::atomic<int64_t> works... (cached) yes99963Checking if std::atomic<uint64_t> works... (cached) yes99964Checking if std::atomic<int32_t> works... (cached) yes99965Checking if std::atomic<uint32_t> works... (cached) yes99966Checking for extended alignment 64 for concurrency types... (cached) yes99967Checking for mongoc_get_major_version() in C library mongoc-1.0... (cached) no99968Checking for curl_global_init(0) in C library curl... (cached) yes99969Checking for curl_global_init(0) in C library curl... (cached) yes99970Checking if C compiler supports -moutline-atomics... (cached) yes99971Checking for C header file sys/sdt.h... (cached) no99972Checking for C function fallocate()... (cached) yes99973Checking for C function sync_file_range()... (cached) yes99974Checking for C header file arm_neon.h... (cached) yes99975scons: done reading SConscript files.99976scons: Building targets ...99977scons: `install-core' is up to date.99978scons: done building targets.99979installPhase completed in 4 minutes 7 seconds99980post-installation fixup99981shrinking RPATHs of ELF executables and libraries in /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.1399982shrinking /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/bin/mongod99983shrinking /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/bin/mongo99984shrinking /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/bin/mongos99985strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip99986stripping (with command strip and flags -S) in /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/lib /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13/bin99987patching script interpreter paths in /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.1399988checking for references to /build/ in /nix/store/0x5pag3bkrinpvshkc0ajlh8n3sl6n3p-mongodb-4.4.13...99989running install tests99990MongoDB shell version v4.4.1399991Build Info: {99992 "version": "4.4.13",99993 "gitVersion": "df25c71b8674a78e17468f48bcda5285decb9246",99994 "openSSLVersion": "OpenSSL 3.0.7 1 Nov 2022",99995 "modules": [],99996 "allocator": "tcmalloc",99997 "environment": {99998 "distarch": "aarch64",99999 "target_arch": "aarch64"100000 }100001}