this derivation will be built: /nix/store/bjxl9hahr4vswx3hhj03141al3wpagls-mongodb-5.0.7.drv error: Cannot build '/nix/store/bjxl9hahr4vswx3hhj03141al3wpagls-mongodb-5.0.7.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/wsr02wry5kfpmwikf6wbxsz4gyywbrnm-mongodb-5.0.7 Last 25 log lines: > from include/boost/throw_exception.hpp:21, > from include/boost/optional/optional.hpp:36, > from include/boost/optional.hpp:15, > from src/mongo/db/namespace_string.h:33, > from src/mongo/db/s/sharding_ddl_coordinator.h:32, > from src/mongo/db/s/move_primary_coordinator.h:32, > from src/mongo/db/s/move_primary_coordinator.cpp:34: > In function ‘void* memcpy(void*, const void*, size_t)’, > inlined from ‘void mongo::StringData::copyTo(char*, bool) const’ at src/mongo/base/string_data.h:250:15, > inlined from ‘void mongo::StringBuilderImpl::append(mongo::StringData) [with Builder = mongo::BufBuilder]’ at src/mongo/bson/util/builder.h:635:19, > inlined from ‘mongo::StringBuilderImpl& mongo::StringBuilderImpl::operator<<(mongo::StringData) [with Builder = mongo::BufBuilder]’ at src/mongo/bson/util/builder.h:591:15, > inlined from ‘mongo::str::stream& mongo::str::stream::operator<<(const T&) [with T = mongo::StringData]’ at src/mongo/util/str.h:69:12, > inlined from ‘mongo::MovePrimaryCoordinator::runImpl(std::shared_ptr)::::::’ at src/mongo/db/s/move_primary_coordinator.cpp:108:21, > inlined from ‘void mongo::uassertStatusOKWithContextAndLocation(const mongo::Status&, ContextExpr&&, const char*, unsigned int) [with ContextExpr = mongo::MovePrimaryCoordinator::runImpl(std::shared_ptr)::::::]’ at src/mongo/util/assert_util.h:414:30, > inlined from ‘mongo::MovePrimaryCoordinator::runImpl(std::shared_ptr)::::’ at src/mongo/db/s/move_primary_coordinator.cpp:108:21, > inlined from ‘mongo::MovePrimaryCoordinator::runImpl(std::shared_ptr)::’ at src/mongo/db/s/move_primary_coordinator.cpp:114:15: > /nix/store/mmmjp0xcmr0dm307jv1l34hvi95z6d8s-glibc-2.35-224-dev/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ offset [0, 487] is out of the bounds [0, 0] [-Warray-bounds] > 29 | return __builtin___memcpy_chk (__dest, __src, __len, > | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ > 30 | __glibc_objsize0 (__dest)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > scons: building terminated because of errors. > build/nixos/mongo/db/s/resharding/resharding_recipient_service.o failed: Error 1 > build/nixos/mongo/db/s/resharding/resharding_coordinator_service.o failed: Error 1 > build/nixos/mongo/db/query/sbe_stage_builder.o failed: Error 1 For full logs, run: nix log /nix/store/bjxl9hahr4vswx3hhj03141al3wpagls-mongodb-5.0.7.drv