Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 730795 Details for
Bug 806773
dev-db/mongodb-4.4.4 - src/.../thread.h: error: call to non-constexpr function long int sysconf(int)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db:mongodb-4.4.4:20210806-073236.log
dev-db:mongodb-4.4.4:20210806-073236.log (text/plain), 51.46 KB, created by
Toralf Förster
on 2021-08-06 08:10:22 UTC
(
hide
)
Description:
dev-db:mongodb-4.4.4:20210806-073236.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-08-06 08:10:22 UTC
Size:
51.46 KB
patch
obsolete
> * Package: dev-db/mongodb-4.4.4 > * Repository: gentoo > * Maintainer: ultrabug@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl tools userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Using python3.9 to build >>>> Unpacking source... >>>> Unpacking mongodb-src-r4.4.4.tar.gz to /var/tmp/portage/dev-db/mongodb-4.4.4/work >>>> Source unpacked in /var/tmp/portage/dev-db/mongodb-4.4.4/work >>>> Preparing source in /var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4 ... > * Applying mongodb-4.4.1-fix-scons.patch ... > [ ok ] > * Applying mongodb-4.4.1-no-compass.patch ... > [ ok ] > * Applying mongodb-4.4.1-boost.patch ... > [ ok ] > * Applying mongodb-4.4.1-gcc11.patch ... >patching file src/mongo/db/exec/plan_stats.h >Hunk #1 succeeded at 33 with fuzz 1. > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4 ... >scons -j3 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ --disable-warnings-as-errors --use-system-boost --use-system-pcre --use-system-snappy --use-system-stemmer --use-system-yaml --use-system-zlib --use-system-zstd --ssl --nostrip install-core >scons: Reading SConscript files ... >scons: running with args /usr/bin/python3.9 /usr/lib/python-exec/python3.9/scons -j3 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ --disable-warnings-as-errors --use-system-boost --use-system-pcre --use-system-snappy --use-system-stemmer --use-system-yaml --use-system-zlib --use-system-zstd --ssl --nostrip install-core >Mkdir("build/scons") >scons version: 4.2.0 >python version: 3 9 6 'final' 0 >CC is x86_64-pc-linux-gnu-gcc >x86_64-pc-linux-gnu-gcc found in $PATH at /usr/bin/x86_64-pc-linux-gnu-gcc >/usr/bin/x86_64-pc-linux-gnu-gcc resolves to /usr/x86_64-pc-linux-gnu/gcc-bin/11.2.0/x86_64-pc-linux-gnu-gcc >CXX is x86_64-pc-linux-gnu-g++ >x86_64-pc-linux-gnu-g++ found in $PATH at /usr/bin/x86_64-pc-linux-gnu-g++ >/usr/bin/x86_64-pc-linux-gnu-g++ resolves to /usr/x86_64-pc-linux-gnu/gcc-bin/11.2.0/x86_64-pc-linux-gnu-g++ >Checking whether the C compiler works... yes >Checking whether the C++ compiler works... yes >Checking that the C++ compiler can link a C++ program... yes >Checking if C++ compiler "x86_64-pc-linux-gnu-g++" is GCC... yes >Checking if C compiler "x86_64-pc-linux-gnu-gcc" is GCC... yes >Detected a x86_64 processor >Checking if target OS linux is supported by the toolchain... yes >Checking if C compiler is GCC 8.2 or newer...yes >Checking if C++ compiler is GCC 8.2 or newer...yes >Checking if C compiler supports -Wno-unused-local-typedefs... yes >Checking if C compiler supports -Wno-unused-function... yes >Checking if C compiler supports -Wno-unused-private-field... no >Checking if C compiler supports -Wno-deprecated-declarations... yes >Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no >Checking if C compiler supports -Wno-tautological-constant-compare... no >Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no >Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no >Checking if C compiler supports -Wno-unused-const-variable... yes >Checking if C compiler supports -Wno-unused-but-set-variable... yes >Checking if C compiler supports -Wno-missing-braces... yes >Checking if C compiler supports -Wno-inconsistent-missing-override... no >Checking if C compiler supports -Wno-potentially-evaluated-expression... no >Checking if C++ compiler supports -Wpessimizing-move... yes >Checking if C++ compiler supports -Wredundant-move... yes >Checking if C++ compiler supports -Wno-maybe-uninitialized... yes >Checking if C++ compiler supports -Wno-undefined-var-template... no >Checking if C++ compiler supports -Wno-instantiation-after-specialization... no >Checking if C compiler supports -Wno-unused-lambda-capture... no >Checking if C compiler supports -Wno-exceptions... yes >Checking if C++ compiler supports -fsized-deallocation... yes >Checking if C++ compiler supports -Wno-defaulted-function-deleted... no >Checking if C++ compiler supports -Wunused-exception-parameter... no >Checking -Wnon-virtual-dtor for false positives... no >Checking if C compiler supports -fstack-protector-strong... yes >Checking if we are using libstdc++... yes >Checking if C++ compiler supports -std=c++17... yes >Checking if C compiler supports -std=c11... yes >WARNING: System versions of C++ libraries must be compiled with C++14/17 support >Checking for C++17... yes >Checking for memset_s... no >Checking for C function strnlen()... yes >Checking for libstdc++ 5.3.0 or better... yes >Checking if we are on a POSIX system... yes >Checking if the POSIX monotonic clock is supported... yes >Checking off_t is 8 bytes... yes >Checking if linker supports -fuse-ld=lld... yes >Checking if linker supports -Wl,--no-threads... no >Checking if linker supports -Wl,--build-id... yes >Checking if linker supports -Wl,--hash-style=gnu... yes >Checking if linker supports -Wl,-z,noexecstack... yes >Checking if linker supports -Wl,--warn-execstack... yes >Checking if linker supports -Wl,-z,relro... yes >Checking for glibc with non-broken _FORTIFY_SOURCE...yes >Checking if C compiler supports -fno-builtin-memcmp... yes >Checking for storage class thread_local yes >Checking for C++14 std::enable_if_t support...yes >Checking if pthread_setname_np is supported... yes >Checking for SSLeay_version(0) in C library crypto... yes >Checking for SSL_version(NULL) in C library ssl... yes >Checking that linking to OpenSSL works...yes >Checking whether FIPS_mode_set is declared... yes >Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes >Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes >Checking if EC_KEY_new_by_curve_name is supported... yes >Using SSL Provider: openssl >Checking for C library pcre... yes >Checking for C library pcrecpp... yes >Checking for C library snappy... yes >Checking for C library z... yes >Checking for C library zstd... yes >Checking for C library stemmer... yes >Checking for C library yaml-cpp... yes >Checking for C++ header file boost/filesystem/operations.hpp... yes >Checking if system boost version is 1.49 or newer...yes >Checking for C++ library boost_filesystem-mt... yes >Checking for C++ library boost_program_options-mt... yes >Checking for C++ library boost_system-mt... yes >Checking for C++ library boost_iostreams-mt... yes >Checking for C++ library boost_thread-mt... yes >Checking for C++ library boost_log-mt... yes >Checking for C library rt... yes >Checking for C library dl... yes >Checking for C++ header file execinfo.h... yes >Checking whether backtrace is declared... yes >Checking whether backtrace_symbols is declared... yes >Checking whether backtrace_symbols_fd is declared... yes >Checking for C library pcap... yes >Checking if std::atomic<int64_t> works... yes >Checking if std::atomic<uint64_t> works... yes >Checking if std::atomic<int32_t> works... yes >Checking if std::atomic<uint32_t> works... yes >Checking for extended alignment 64 for concurrency types... yes >Checking for mongoc_get_major_version() in C library mongoc-1.0... no >Checking for curl_global_init(0) in C library curl... yes >Checking for curl_global_init(0) in C library curl... yes >Checking for C header file sys/sdt.h... yes >Checking for C function fallocate()... yes >Checking for C function sync_file_range()... yes >Checking for C header file x86intrin.h... yes >Checking for C header file arm_neon.h... no >scons: done reading SConscript files. >scons: Building targets ... >Install file: "distsrc/README" as "build/install/README" >Install file: "distsrc/LICENSE-Community.txt" as "build/install/LICENSE-Community.txt" >Install file: "distsrc/THIRD-PARTY-NOTICES" as "build/install/THIRD-PARTY-NOTICES" >Install file: "distsrc/MPL-2" as "build/install/MPL-2" >Generating build/opt/mongo/db/pipeline/exchange_spec_gen.cpp >Generating build/opt/mongo/db/logical_session_id_gen.cpp >Generating build/opt/mongo/s/database_version_gen.cpp >Generating build/opt/mongo/db/repl/oplog_entry_gen.cpp >Generating build/opt/mongo/db/ops/write_ops_gen.cpp >Generating build/opt/mongo/db/generic_cursor_gen.cpp >Creating 'build/opt/mongo/config.h' >Generating build/opt/mongo/db/commands/txn_cmds_gen.cpp >Generating build/opt/mongo/client/hedging_mode_gen.cpp >Generating build/opt/mongo/client/read_preference_gen.cpp >Generating build/opt/mongo/db/repl/repl_set_config_gen.cpp >Generating build/opt/mongo/db/repl/apply_ops_gen.cpp >Generating build/opt/mongo/db/read_write_concern_provenance_base_gen.cpp >Generating build/opt/mongo/db/query/query_knobs_gen.cpp >Generating build/opt/mongo/db/pipeline/runtime_constants_gen.cpp >/usr/bin/python3.9 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type_gen.h build/opt/mongo/db/auth/action_type_gen.cpp >/usr/bin/python3.9 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.h build/opt/mongo/base/error_codes.h >Generating build/opt/mongo/rpc/topology_version_gen.cpp >Generating build/opt/mongo/db/kill_sessions_gen.cpp >Generating build/opt/mongo/db/ops/single_write_result_gen.cpp >/usr/bin/python3.9 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/base/error_codes.tpl.cpp build/opt/mongo/base/error_codes.cpp >Generating build/opt/mongo/db/repl/repl_settings_gen.cpp >Generating build/opt/mongo/db/query/tailable_mode_gen.cpp >Generating build/opt/mongo/s/request_types/refine_collection_shard_key_gen.cpp >Generating build/opt/mongo/db/repl/optime_and_wall_time_base_gen.cpp >Generating build/opt/mongo/s/catalog/type_chunk_base_gen.cpp >Generating build/opt/mongo/s/query/async_results_merger_params_gen.cpp >Compiling build/opt/mongo/s/commands/cluster_refine_collection_shard_key_cmd.o >Compiling build/opt/mongo/s/commands/document_shard_key_update_util.o >Compiling build/opt/mongo/db/pipeline/document_source_coll_stats.o >In file included from /usr/include/signal.h:328, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/csignal:42, > from src/mongo/stdx/thread.h:33, > from src/mongo/db/client.h:46, > from src/mongo/db/auth/restriction_environment.h:34, > from src/mongo/db/auth/restriction.h:37, > from src/mongo/db/auth/restriction_set.h:35, > from src/mongo/db/auth/role_graph.h:39, > from src/mongo/db/auth/authorization_manager.h:40, > from src/mongo/db/auth/authorization_session.h:39, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:34: >src/mongo/stdx/thread.h:110:56: error: call to non-âconstexprâ function âlong int sysconf(int)â > 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); > | ^~~~~~~~~~~ >In file included from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78, > from /usr/include/boost/config.hpp:48, > from /usr/include/boost/core/addressof.hpp:17, > from /usr/include/boost/optional/optional.hpp:28, > from /usr/include/boost/optional.hpp:15, > from src/mongo/db/auth/authorization_manager.h:32, > from src/mongo/db/auth/authorization_session.h:39, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:34: >/usr/include/unistd.h:641:17: note: âlong int sysconf(int)â declared here > 641 | extern long int sysconf (int __name) __THROW; > | ^~~~~~~ >In file included from /usr/include/signal.h:328, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/csignal:42, > from src/mongo/stdx/thread.h:33, > from src/mongo/db/client.h:46, > from src/mongo/db/operation_context.h:36, > from src/mongo/s/transaction_router.h:36, > from src/mongo/s/commands/document_shard_key_update_util.h:39, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >src/mongo/stdx/thread.h:110:56: error: call to non-âconstexprâ function âlong int sysconf(int)â > 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); > | ^~~~~~~~~~~ >In file included from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78, > from /usr/include/boost/config.hpp:48, > from /usr/include/boost/core/addressof.hpp:17, > from /usr/include/boost/optional/optional.hpp:28, > from /usr/include/boost/optional.hpp:15, > from src/mongo/s/commands/document_shard_key_update_util.h:32, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >/usr/include/unistd.h:641:17: note: âlong int sysconf(int)â declared here > 641 | extern long int sysconf (int __name) __THROW; > | ^~~~~~~ >In file included from src/mongo/db/pipeline/expression_context.h:44, > from src/mongo/db/exec/plan_stage.h:37, > from src/mongo/db/query/explain.h:32, > from src/mongo/db/commands.h:47, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35: >src/mongo/db/pipeline/aggregation_request.h: In static member function âstatic mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)â: >src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] > 90 | return std::move(pipeline); > | ~~~~~~~~~^~~~~~~~~~ >src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove âstd::moveâ call >In file included from /usr/include/signal.h:328, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/csignal:42, > from src/mongo/stdx/thread.h:33, > from src/mongo/db/client.h:46, > from src/mongo/db/commands.h:43, > from src/mongo/db/pipeline/document_source.h:45, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >src/mongo/stdx/thread.h:110:56: error: call to non-âconstexprâ function âlong int sysconf(int)â > 110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ}); > | ^~~~~~~~~~~ >In file included from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78, > from /usr/include/boost/config.hpp:48, > from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:16, > from /usr/include/boost/intrusive_ptr.hpp:16, > from src/mongo/db/pipeline/document_source.h:34, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >/usr/include/unistd.h:641:17: note: âlong int sysconf(int)â declared here > 641 | extern long int sysconf (int __name) __THROW; > | ^~~~~~~ >In file included from src/mongo/db/matcher/expression_text_base.h:32, > from src/mongo/db/matcher/extensions_callback.h:33, > from src/mongo/db/matcher/extensions_callback_noop.h:32, > from src/mongo/db/query/canonical_query.h:36, > from src/mongo/db/query/plan_cache.h:36, > from src/mongo/db/query/query_solution.h:40, > from src/mongo/db/query/plan_executor.h:36, > from src/mongo/db/catalog/collection.h:48, > from src/mongo/db/catalog/collection_catalog.h:36, > from src/mongo/db/curop.h:35, > from src/mongo/db/stats/single_transaction_stats.h:32, > from src/mongo/s/transaction_router.h:39, > from src/mongo/s/commands/document_shard_key_update_util.h:39, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] > 201 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:201:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] > 223 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:223:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] > 245 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:245:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] > 267 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:267:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] > 289 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:289:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] > 308 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:308:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] > 352 | return std::move(m); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:352:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] > 395 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:395:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] > 579 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:579:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] > 600 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:600:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] > 621 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:621:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] > 642 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:642:25: note: remove âstd::moveâ call >In file included from src/mongo/db/pipeline/expression_context.h:44, > from src/mongo/db/matcher/extensions_callback.h:35, > from src/mongo/db/matcher/extensions_callback_noop.h:32, > from src/mongo/db/query/canonical_query.h:36, > from src/mongo/db/query/plan_cache.h:36, > from src/mongo/db/query/query_solution.h:40, > from src/mongo/db/query/plan_executor.h:36, > from src/mongo/db/catalog/collection.h:48, > from src/mongo/db/catalog/collection_catalog.h:36, > from src/mongo/db/curop.h:35, > from src/mongo/db/stats/single_transaction_stats.h:32, > from src/mongo/s/transaction_router.h:39, > from src/mongo/s/commands/document_shard_key_update_util.h:39, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >src/mongo/db/pipeline/aggregation_request.h: In static member function âstatic mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)â: >src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] > 90 | return std::move(pipeline); > | ~~~~~~~~~^~~~~~~~~~ >src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove âstd::moveâ call >In file included from src/mongo/db/pipeline/expression_context.h:44, > from src/mongo/db/exec/plan_stage.h:37, > from src/mongo/db/query/explain.h:32, > from src/mongo/db/commands.h:47, > from src/mongo/db/pipeline/document_source.h:45, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >src/mongo/db/pipeline/aggregation_request.h: In static member function âstatic mongo::StatusWith<std::vector<mongo::BSONObj> > mongo::AggregationRequest::parsePipelineFromBSON(mongo::BSONElement)â: >src/mongo/db/pipeline/aggregation_request.h:90:25: warning: redundant move in return statement [-Wredundant-move] > 90 | return std::move(pipeline); > | ~~~~~~~~~^~~~~~~~~~ >src/mongo/db/pipeline/aggregation_request.h:90:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_text_base.h:32, > from src/mongo/db/matcher/extensions_callback.h:33, > from src/mongo/db/matcher/extensions_callback_noop.h:32, > from src/mongo/db/query/canonical_query.h:36, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35: >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] > 201 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:201:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] > 223 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:223:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] > 245 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:245:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] > 267 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:267:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] > 289 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:289:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] > 308 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:308:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] > 352 | return std::move(m); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:352:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] > 395 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:395:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] > 579 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:579:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] > 600 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:600:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] > 621 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:621:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] > 642 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:642:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:38, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35: >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] > 126 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:126:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] > 155 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:155:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] > 184 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:184:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] > 202 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:202:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:39, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:35: >src/mongo/db/matcher/expression_type.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] > 196 | return std::move(expr); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_type.h:196:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:38, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/plan_cache.h:36, > from src/mongo/db/query/query_solution.h:40, > from src/mongo/db/query/plan_executor.h:36, > from src/mongo/db/catalog/collection.h:48, > from src/mongo/db/catalog/collection_catalog.h:36, > from src/mongo/db/curop.h:35, > from src/mongo/db/stats/single_transaction_stats.h:32, > from src/mongo/s/transaction_router.h:39, > from src/mongo/s/commands/document_shard_key_update_util.h:39, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] > 126 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:126:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_text_base.h:32, > from src/mongo/db/matcher/extensions_callback.h:33, > from src/mongo/db/matcher/extensions_callback_noop.h:32, > from src/mongo/db/query/canonical_query.h:36, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/db/pipeline/document_source.h:45, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:201:25: warning: redundant move in return statement [-Wredundant-move] > 201 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:201:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:223:25: warning: redundant move in return statement [-Wredundant-move] > 223 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:223:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:245:25: warning: redundant move in return statement [-Wredundant-move] > 245 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:245:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:267:25: warning: redundant move in return statement [-Wredundant-move] > 267 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:267:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:289:25: warning: redundant move in return statement [-Wredundant-move] > 289 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:289:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:308:25: warning: redundant move in return statement [-Wredundant-move] > 308 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:308:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:352:25: warning: redundant move in return statement [-Wredundant-move] > 352 | return std::move(m); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:352:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:395:25: warning: redundant move in return statement [-Wredundant-move] > 395 | return std::move(e); > | ~~~~~~~~~^~~ >src/mongo/db/matcher/expression_leaf.h:395:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:579:25: warning: redundant move in return statement [-Wredundant-move] > 579 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:579:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:600:25: warning: redundant move in return statement [-Wredundant-move] > 600 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:600:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:621:25: warning: redundant move in return statement [-Wredundant-move] > 621 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:621:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_leaf.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_leaf.h:642:25: warning: redundant move in return statement [-Wredundant-move] > 642 | return std::move(bitTestMatchExpression); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/mongo/db/matcher/expression_leaf.h:642:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:38, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/db/pipeline/document_source.h:45, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] > 126 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:126:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] > 155 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:155:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] > 155 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:155:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] > 184 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:184:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] > 184 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:184:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] > 202 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:202:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_tree.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] > 202 | return std::move(self); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_tree.h:202:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:39, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/explain.h:34, > from src/mongo/db/commands.h:47, > from src/mongo/db/pipeline/document_source.h:45, > from src/mongo/db/pipeline/document_source_coll_stats.h:32, > from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: >src/mongo/db/matcher/expression_type.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] > 196 | return std::move(expr); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_type.h:196:25: note: remove âstd::moveâ call >In file included from src/mongo/db/matcher/expression_parser.h:39, > from src/mongo/db/matcher/copyable_match_expression.h:32, > from src/mongo/db/query/projection_ast.h:33, > from src/mongo/db/query/projection.h:33, > from src/mongo/db/query/canonical_query.h:38, > from src/mongo/db/query/plan_cache.h:36, > from src/mongo/db/query/query_solution.h:40, > from src/mongo/db/query/plan_executor.h:36, > from src/mongo/db/catalog/collection.h:48, > from src/mongo/db/catalog/collection_catalog.h:36, > from src/mongo/db/curop.h:35, > from src/mongo/db/stats/single_transaction_stats.h:32, > from src/mongo/s/transaction_router.h:39, > from src/mongo/s/commands/document_shard_key_update_util.h:39, > from src/mongo/s/commands/document_shard_key_update_util.cpp:32: >src/mongo/db/matcher/expression_type.h: In member function âvirtual std::unique_ptr<mongo::MatchExpression> mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() constâ: >src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] > 196 | return std::move(expr); > | ~~~~~~~~~^~~~~~ >src/mongo/db/matcher/expression_type.h:196:25: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] > 74 | return std::move(expr); > | ^ >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] > 74 | return std::move(expr); > | ^ >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >scons: *** [build/opt/mongo/s/commands/cluster_refine_collection_shard_key_cmd.o] Error 1 >scons: *** [build/opt/mongo/db/pipeline/document_source_coll_stats.o] Error 1 >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] > 74 | return std::move(expr); > | ^ >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >src/mongo/db/matcher/expression_type.h: In instantiation of âstd::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]â: >src/mongo/db/matcher/expression_type.h:69:38: required from here >src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] >src/mongo/db/matcher/expression_type.h:74:30: note: remove âstd::moveâ call >scons: *** [build/opt/mongo/s/commands/document_shard_key_update_util.o] Error 1 >scons: building terminated because of errors. >build/opt/mongo/s/commands/cluster_refine_collection_shard_key_cmd.o failed: Error 1 >build/opt/mongo/db/pipeline/document_source_coll_stats.o failed: Error 1 >build/opt/mongo/s/commands/document_shard_key_update_util.o failed: Error 1 > * ERROR: dev-db/mongodb-4.4.4::gentoo failed (compile phase): > * escons failed. > * > * Call stack: > * ebuild.sh, line 127: Called src_compile > * environment, line 3084: Called escons 'CC=x86_64-pc-linux-gnu-gcc' 'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--use-system-zstd' '--ssl' '--nostrip' 'install-core' > * environment, line 1724: Called die > * The specific snippet of code: > * die -n "escons failed." > * > * If you need support, post the output of `emerge --info '=dev-db/mongodb-4.4.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-4.4.4::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-db:mongodb-4.4.4:20210806-073236.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/mongodb-4.4.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-4.4.4/temp/environment'. > * Working directory: '/var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4' > * S: '/var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 806773
:
730792
| 730795 |
730798
|
730801
|
730804
|
730807
|
730810