src/mongo/db/matcher/expression_tree.h:201:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/commands/server_status.h:32, from src/mongo/s/router_transactions_server_status.cpp:32: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/commands/server_status.h:32, from src/mongo/s/router_transactions_server_status.cpp:32: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > 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_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/s/commands/cluster_find_and_modify_cmd.cpp:35: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/s/mongos_options_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:199:25: warning: redundant move in return statement [-Wredundant-move] 199 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:199:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:221:25: warning: redundant move in return statement [-Wredundant-move] 221 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:221:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:265:25: warning: redundant move in return statement [-Wredundant-move] 265 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:265:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:287:25: warning: redundant move in return statement [-Wredundant-move] 287 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:287:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:306:25: warning: redundant move in return statement [-Wredundant-move] 306 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:306:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:350:25: warning: redundant move in return statement [-Wredundant-move] 350 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:350:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:393:25: warning: redundant move in return statement [-Wredundant-move] 393 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:393:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr 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::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::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::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:36, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/s/mongos_options_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:125:25: warning: redundant move in return statement [-Wredundant-move] 125 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:125:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:154:25: warning: redundant move in return statement [-Wredundant-move] 154 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:154:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:183:25: warning: redundant move in return statement [-Wredundant-move] 183 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:183:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:201:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/s/mongos_options_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/s/mongos_options_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > 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 ar rcsTD build/opt/mongo/s/commands/libcluster_commands.a build/opt/mongo/s/commands/cluster_abort_transaction_cmd.o build/opt/mongo/s/commands/cluster_add_shard_cmd.o build/opt/mongo/s/commands/cluster_add_shard_to_zone_cmd.o build/opt/mongo/s/commands/cluster_available_query_options_cmd.o build/opt/mongo/s/commands/cluster_build_info.o build/opt/mongo/s/commands/cluster_clear_jumbo_flag_cmd.o build/opt/mongo/s/commands/cluster_coll_stats_cmd.o build/opt/mongo/s/commands/cluster_collection_mod_cmd.o build/opt/mongo/s/commands/cluster_commit_transaction_cmd.o build/opt/mongo/s/commands/cluster_compact_cmd.o build/opt/mongo/s/commands/cluster_control_balancer_cmd.o build/opt/mongo/s/commands/cluster_count_cmd.o build/opt/mongo/s/commands/cluster_create_cmd.o build/opt/mongo/s/commands/cluster_create_indexes_cmd.o build/opt/mongo/s/commands/cluster_current_op.o build/opt/mongo/s/commands/cluster_data_size_cmd.o build/opt/mongo/s/commands/cluster_db_stats_cmd.o build/opt/mongo/s/commands/cluster_distinct_cmd.o build/opt/mongo/s/commands/cluster_drop_cmd.o build/opt/mongo/s/commands/cluster_drop_database_cmd.o build/opt/mongo/s/commands/cluster_drop_indexes_cmd.o build/opt/mongo/s/commands/cluster_enable_sharding_cmd.o build/opt/mongo/s/commands/cluster_explain.o build/opt/mongo/s/commands/cluster_explain_cmd.o build/opt/mongo/s/commands/cluster_filemd5_cmd.o build/opt/mongo/s/commands/cluster_find_and_modify_cmd.o build/opt/mongo/s/commands/cluster_find_cmd.o build/opt/mongo/s/commands/cluster_fsync_cmd.o build/opt/mongo/s/commands/cluster_ftdc_commands.o build/opt/mongo/s/commands/cluster_get_last_error_cmd.o build/opt/mongo/s/commands/cluster_get_shard_version_cmd.o build/opt/mongo/s/commands/cluster_getmore_cmd.o build/opt/mongo/s/commands/cluster_index_filter_cmd.o build/opt/mongo/s/commands/cluster_is_db_grid_cmd.o build/opt/mongo/s/commands/cluster_is_master_cmd.o build/opt/mongo/s/commands/cluster_kill_op.o build/opt/mongo/s/commands/cluster_killcursors_cmd.o build/opt/mongo/s/commands/cluster_list_databases_cmd.o build/opt/mongo/s/commands/cluster_list_shards_cmd.o build/opt/mongo/s/commands/cluster_map_reduce_cmd.o build/opt/mongo/s/commands/cluster_merge_chunks_cmd.o build/opt/mongo/s/commands/cluster_move_chunk_cmd.o build/opt/mongo/s/commands/cluster_move_primary_cmd.o build/opt/mongo/s/commands/cluster_multicast.o build/opt/mongo/s/commands/cluster_netstat_cmd.o build/opt/mongo/s/commands/cluster_pipeline_cmd.o build/opt/mongo/s/commands/cluster_plan_cache_cmd.o build/opt/mongo/s/commands/cluster_profile_cmd.o build/opt/mongo/s/commands/cluster_remove_shard_cmd.o build/opt/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o build/opt/mongo/s/commands/cluster_repl_set_get_status_cmd.o build/opt/mongo/s/commands/cluster_reset_error_cmd.o build/opt/mongo/s/commands/cluster_restart_catalog_command.o build/opt/mongo/s/commands/cluster_set_allow_migrations_cmd.o build/opt/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.o build/opt/mongo/s/commands/cluster_set_free_monitoring.o build/opt/mongo/s/commands/cluster_shard_collection_cmd.o build/opt/mongo/s/commands/cluster_shutdown_cmd.o build/opt/mongo/s/commands/cluster_split_cmd.o build/opt/mongo/s/commands/cluster_update_zone_key_range_cmd.o build/opt/mongo/s/commands/cluster_user_management_commands.o build/opt/mongo/s/commands/cluster_validate_cmd.o build/opt/mongo/s/commands/cluster_whats_my_uri_cmd.o build/opt/mongo/s/commands/cluster_write_cmd.o build/opt/mongo/s/commands/commands_public.o build/opt/mongo/s/commands/document_shard_key_update_util.o build/opt/mongo/s/commands/kill_sessions_remote.o build/opt/mongo/s/commands/strategy.o build/opt/mongo/s/commands/cluster_multicast_gen.o build/opt/mongo/s/commands/kill_sessions_remote_gen.o Skipping ranlib for thin archive build/opt/mongo/s/commands/libcluster_commands.a /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/s/version_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -moutline-atomics -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/version_mongos.cpp In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/commands/server_status.h:32, from src/mongo/s/router_transactions_server_status.cpp:32: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/s/mongos_options_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -moutline-atomics -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/db/ftdc/ftdc_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -moutline-atomics -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_mongos.cpp /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/s/sharding_egress_metadata_hook_for_mongos.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -moutline-atomics -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/sharding_egress_metadata_hook_for_mongos.cpp /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/s/mongos_options.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -moutline-atomics -fPIE -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/s/mongos_options.cpp In file included from src/mongo/db/matcher/expression_text_base.h:32, from src/mongo/db/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:32, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp:16: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:199:25: warning: redundant move in return statement [-Wredundant-move] 199 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:199:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:221:25: warning: redundant move in return statement [-Wredundant-move] 221 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:221:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:265:25: warning: redundant move in return statement [-Wredundant-move] 265 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:265:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:287:25: warning: redundant move in return statement [-Wredundant-move] 287 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:287:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:306:25: warning: redundant move in return statement [-Wredundant-move] 306 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:306:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:350:25: warning: redundant move in return statement [-Wredundant-move] 350 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:350:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:393:25: warning: redundant move in return statement [-Wredundant-move] 393 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:393:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr 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::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::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::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:36, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp:16: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:125:25: warning: redundant move in return statement [-Wredundant-move] 125 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:125:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:154:25: warning: redundant move in return statement [-Wredundant-move] 154 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:154:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:183:25: warning: redundant move in return statement [-Wredundant-move] 183 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:183:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:201:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call In file included from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp:16: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > 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:37, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/ftdc/ftdc_server.h:35, from src/mongo/db/ftdc/ftdc_mongos.cpp:41: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:199:25: warning: redundant move in return statement [-Wredundant-move] 199 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:199:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:221:25: warning: redundant move in return statement [-Wredundant-move] 221 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:221:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:243:25: warning: redundant move in return statement [-Wredundant-move] 243 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:243:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:265:25: warning: redundant move in return statement [-Wredundant-move] 265 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:265:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:287:25: warning: redundant move in return statement [-Wredundant-move] 287 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:287:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:306:25: warning: redundant move in return statement [-Wredundant-move] 306 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:306:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:350:25: warning: redundant move in return statement [-Wredundant-move] 350 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:350:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:393:25: warning: redundant move in return statement [-Wredundant-move] 393 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:393:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr 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::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::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::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:36, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/ftdc/ftdc_server.h:35, from src/mongo/db/ftdc/ftdc_mongos.cpp:41: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:125:25: warning: redundant move in return statement [-Wredundant-move] 125 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:125:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:154:25: warning: redundant move in return statement [-Wredundant-move] 154 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:154:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:183:25: warning: redundant move in return statement [-Wredundant-move] 183 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:183:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:201:25: warning: redundant move in return statement [-Wredundant-move] 201 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:201:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/ftdc/ftdc_server.h:35, from src/mongo/db/ftdc/ftdc_mongos.cpp:41: src/mongo/db/matcher/expression_type.h: In member function 'virtual std::unique_ptr mongo::InternalSchemaBinDataSubTypeExpression::shallowClone() const': src/mongo/db/matcher/expression_type.h:196:25: warning: redundant move in return statement [-Wredundant-move] 196 | return std::move(expr); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_type.h:196:25: note: remove 'std::move' call ar rcsTD build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a build/opt/mongo/s/sharding_egress_metadata_hook_for_mongos.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a In file included from src/mongo/db/pipeline/expression_context.h:41, from src/mongo/db/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_parser.h:38, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/ftdc/ftdc_server.h:35, from src/mongo/db/ftdc/ftdc_mongos.cpp:41: src/mongo/db/pipeline/aggregation_request.h: In static member function 'static mongo::StatusWith > 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_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.cpp:16: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call ar rcsTD build/opt/mongo/db/auth/libauthmongos.a build/opt/mongo/db/auth/authz_manager_external_state_s.o build/opt/mongo/db/auth/authz_session_external_state_s.o build/opt/mongo/db/auth/user_cache_invalidator_job.o build/opt/mongo/db/auth/user_cache_invalidator_job_parameters_gen.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthmongos.a In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:33, from src/mongo/db/query/canonical_query.h:39, from src/mongo/db/query/explain.h:34, from src/mongo/db/commands.h:46, from src/mongo/db/ftdc/ftdc_server.h:35, from src/mongo/db/ftdc/ftdc_mongos.cpp:41: src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] 74 | return std::move(expr); | ^ src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr mongo::TypeMatchExpressionBase::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call ar rcsTD build/opt/mongo/db/ftdc/libftdc_mongos.a build/opt/mongo/db/ftdc/ftdc_mongos.o Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc_mongos.a Using tempfile /tmp/tmp1fcr4vwn.lnk for command line: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ -o build/opt/mongo/mongos -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,-z,relro -pie build/opt/mongo/s/cluster_cursor_stats.o build/opt/mongo/s/mongos_options.o build/opt/mongo/s/mongos_options_init.o build/opt/mongo/s/mongos_options_gen.o build/opt/mongo/s/router_transactions_server_status.o build/opt/mongo/s/s_sharding_server_status.o build/opt/mongo/s/server.o build/opt/mongo/s/service_entry_point_mongos.o build/opt/mongo/s/sharding_uptime_reporter.o build/opt/mongo/s/version_mongos.o -Wl,--start-group -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libhttp_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libalarm.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/liblatch_analyzer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor_options_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommitted_optime_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libcluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_aggregate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libmongos_process_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libsharded_agg_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_aggregation_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libmongo_process_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libasync_multicaster.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libresolved_view.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libshared_request_handling.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtraffic_recorder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/liblist_databases_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/logger/libparse_log_component_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libduplicate_key_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_router_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libscoped_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtxn_cmd_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libdistinct_command_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_factory_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsession_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libsharding_api_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librange_arithmetic.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libinitialize_server_security_state.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_parameters_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserverinit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libsplit_horizon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_base.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libchunk_writes_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_zstd.a -Wl,--no-whole-archive build/opt/third_party/zstandard-1.3.7/libzstd.a -Wl,--whole-archive build/opt/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libauthentication_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsasl_options_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libspeculative_majority_read_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdiagnostic_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/libflow_control_ticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libbackground.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libprojection_exec_agg.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_stemmer.a -Wl,--no-whole-archive build/opt/third_party/libstemmer_c/libstemmer.a -Wl,--whole-archive build/opt/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libregex_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_timelib.a -Wl,--no-whole-archive build/opt/third_party/timelib-2021.06/libtimelib.a -Wl,--whole-archive build/opt/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libhint_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libruntime_constants_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librewrite_state_change_errors.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/wiredtiger/libwiredtiger_checksum.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata_impersonated_user.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmulti_key_path_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libserver_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libhttp_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/opt/third_party/libshim_fmt.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/fmt/libfmt.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_abseil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/abseil-cpp-master/libabsl_container.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/abseil-cpp-master/libabsl_hash.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_allocator.a -Wl,--no-whole-archive build/opt/mongo/util/libdebugger.a -Wl,--whole-archive build/opt/mongo/libboost_assert_shim.a -Wl,--no-whole-archive -Wl,--end-group -lcurl -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/aarch64-linux-g++ @/tmp/tmp1fcr4vwn.lnk